[Rpm-maint] [PATCH] Evaluate the spec file before making the build tree
James Leddy
jm.leddy at gmail.com
Mon Oct 11 05:22:01 UTC 2010
Patch attached, commit msg:
Certain macros such as %{name} are defined in the spec file. Since the
build tree is created before the spec file today, you can't use a
definition like
%_rpmtopdir %{_topdir}/%{name}/%{version}-%{release}
in your rpm macros, because even though rpm -i succeeds, the rpmbuild
does not, unless the relevant directories are created.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Evaluate-the-spec-file-before-making-the-build-tree.patch
Type: text/x-diff
Size: 1898 bytes
Desc: not available
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20101011/f45ce682/attachment.bin>
More information about the Rpm-maint
mailing list