Inclusion user rpm macros file in spec

Panu Matilainen pmatilai at laiskiainen.org
Fri May 21 16:58:52 UTC 2010


On Fri, 21 May 2010, Kevin Kofler wrote:

> Pavel Alexeev (aka Pahan-Hubbitus) wrote:
>> I think because macroses should be included before it processed as shell
>> script.
>> Is there some variant of %include or similar?
>
> AFAIK, no. E.g. in kde-filesystem, we end up defining things twice, once for
> the specfile itself and once for the .macros file:
> http://cvs.fedoraproject.org/viewvc/rpms/kde-filesystem/devel/kde-filesystem.spec?revision=1.49&view=markup

And neither of you actually thought to try whether %include works? :D
Hint: it does, in spec files.

 	- Panu -


More information about the devel mailing list