Inclusion user rpm macros file in spec
Pavel Alexeev (aka Pahan-Hubbitus)
forum at hubbitus.com.ru
Sun May 30 17:19:39 UTC 2010
21.05.2010 20:58, Panu Matilainen ?????:
> 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 -
>
Thanks for the answers.
Panu, you are sure? I try, and rpmbuild encountered error -
https://bugzilla.redhat.com/show_bug.cgi?id=597835
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/devel/attachments/20100530/740dd256/attachment-0001.html
More information about the devel
mailing list