Red Hat Bugzilla – Bug 5925
Bad spec file - cannot be built except on alpha
Last modified: 2008-05-01 11:37:52 EDT
Basically the RPM cannot be built on any platform except
alpha because it uses %define for library versioning, and
puts these inside %ifarch conditionals.
A quote from Jeff Johnson from the rpm-list on this very
Jeff Johnson wrote:
> I think what's happening is that you have
> %ifos Linux
> %define myvariable a Linux value
> %define myvariable a non-Linux value
> which isn't going to work since macro definitions are
> context free. That means that %define will be parsed and
> comments, inside quotes, in the false branch of %if
Hmm... true. That RPM was built before RPM started doing that.