fedpkg / koji error

Tom Callaway tcallawa at redhat.com
Mon Oct 22 15:56:50 UTC 2012

On 10/18/2012 03:57 AM, Thorsten Leemhuis wrote:
> I'd say the current behaviour is the quite bad, as it leads to different
> results when building with fedpkg and rpmbuild on F18. The real fix
> afaics would be to revert the change and, if wanted, define rhel as 0 in
> Fedora's redhat-rpm-config, too -- but then we obviously need to fix all
> %{!?rhel:foo} statements in current spec files.
> Options? Spot, Simone?

Ignoring the fact that this behavior is explicitly what we document that
you should not do in a spec file, for precisely this reason...

There is currently no way to "undefine" a macro at the rpm commandline,
so barring rpm growing that support, setting %rhel to 0 is the only way
to address the original issue that I know of.


Fedora Project

More information about the devel mailing list