fedpkg / koji error

Tom Callaway tcallawa at redhat.com
Mon Oct 22 20:43:06 UTC 2012


On 10/22/2012 12:09 PM, Ralf Corsepius wrote:
>> There is currently no way to "undefine" a macro at the rpm commandline,
> 
> rpmbuild --define "xxxx %{nil}" ?

Huh, I swear I knew that once. :) Attached is a patch to use the %{nil}
behavior instead of setting the unused dist macro to 0. I smoke tested
and confirmed that the %{rhel} macro is unset on Fedora with this patch
applied.

~tom

==
Fedora Project
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fedpkg-1.10-use-nil-to-unset-distunset.patch
Type: text/x-patch
Size: 758 bytes
Desc: not available
URL: <http://lists.fedoraproject.org/pipermail/devel/attachments/20121022/66aac90b/attachment.bin>


More information about the devel mailing list