Inclusion user rpm macros file in spec

Kevin Kofler kevin.kofler at chello.at
Fri May 21 01:24:19 UTC 2010


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

        Kevin Kofler



More information about the devel mailing list