[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: "#include" equivalent in spec files?



On Thu, 2006-07-13 at 12:35 -0400, Jonathan Reed wrote:
> Because I want the spec file which ends up in the SRPM to have those  
> platform detection macros.

Exactly.  Try this:

Source1: somefile.inc
(...)
%include %SOURCE1

Laca

> On Jul 13, 2006, at 12:33 PM, Matthew Miller wrote:
> 
> > On Thu, Jul 13, 2006 at 12:33:07PM -0400, Matthew Miller wrote:
> >> Why not put them in /etc/rpm/macros.whatever?
> >
> > Or in .rpmmacros?
> >
> > -- 
> > Matthew Miller           mattdm mattdm org          <http:// 
> > mattdm.org/>
> > Boston University Linux      ------>              <http:// 
> > linux.bu.edu/>
> >
> > _______________________________________________
> > Rpm-list mailing list
> > Rpm-list redhat com
> > https://www.redhat.com/mailman/listinfo/rpm-list
> 
> _______________________________________________
> Rpm-list mailing list
> Rpm-list redhat com
> https://www.redhat.com/mailman/listinfo/rpm-list


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]