[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: help loading additional macros from file
- From: "Jeff Johnson" <n3npq jbj gmail com>
- To: "RPM Package Manager" <rpm-list redhat com>
- Subject: Re: help loading additional macros from file
- Date: Thu, 5 Jul 2007 14:51:44 -0400
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]