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