<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
21.05.2010 20:58, Panu Matilainen пишет:
<blockquote cite="mid:alpine.LFD.2.00.1005211956120.19129@localhost"
type="cite">
<pre wrap="">On Fri, 21 May 2010, Kevin Kofler wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Pavel Alexeev (aka Pahan-Hubbitus) wrote:
</pre>
<blockquote type="cite">
<pre wrap="">I think because macroses should be included before it processed as shell
script.
Is there some variant of %include or similar?
</pre>
</blockquote>
<pre wrap="">
AFAIK, no. E.g. in kde-filesystem, we end up defining things twice, once for
the specfile itself and once for the .macros file:
<a class="moz-txt-link-freetext" href="http://cvs.fedoraproject.org/viewvc/rpms/kde-filesystem/devel/kde-filesystem.spec?revision=1.49&view=markup">http://cvs.fedoraproject.org/viewvc/rpms/kde-filesystem/devel/kde-filesystem.spec?revision=1.49&view=markup</a>
</pre>
</blockquote>
<pre wrap="">
And neither of you actually thought to try whether %include works? :D
Hint: it does, in spec files.
        - Panu -
</pre>
</blockquote>
Thanks for the answers.<br>
Panu, you are sure? I try, and rpmbuild encountered error -
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
<a href="https://bugzilla.redhat.com/show_bug.cgi?id=597835">https://bugzilla.redhat.com/show_bug.cgi?id=597835</a>
</body>
</html>