Re: help loading additional macros from file

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

 



On 7/5/07, Tim Mooney <mooney@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:

Yup, works perfectly, even on RHEL 2.1.

Thanks for the tip!


All that is really needed is
   SourceN: mymacros
   ...
   %if %{!? perl_sitelib:1}0
   %(cat %SOURCEn)
   %endif
where mymacros contains
   %define foo bar
   ...

That improves on %include (which is hardly ever used), and
preserves the pretense of reproducible builds.

73 de Jeff

_______________________________________________
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