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

Re: help loading additional macros from file



On 7/5/07, Tim Mooney <mooney dogbert cc ndsu nodak edu> 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


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