Re: "#include" equivalent in spec files?

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

 



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@xxxxxxxxxx          <http:// 
> > mattdm.org/>
> > Boston University Linux      ------>              <http:// 
> > linux.bu.edu/>
> >
> > _______________________________________________
> > Rpm-list mailing list
> > Rpm-list@xxxxxxxxxx
> > https://www.redhat.com/mailman/listinfo/rpm-list
> 
> _______________________________________________
> Rpm-list mailing list
> Rpm-list@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/rpm-list

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux