Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 5925 - Bad spec file - cannot be built except on alpha
Bad spec file - cannot be built except on alpha
Product: Red Hat Linux
Classification: Retired
Component: anonftp (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Cristian Gafton
Depends On:
  Show dependency treegraph
Reported: 1999-10-13 18:34 EDT by andrewem
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2000-01-27 13:45:20 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description andrewem 1999-10-13 18:34:03 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
>         %else
>         %define myvariable      a non-Linux value
>         %endif
> which isn't going to work since macro definitions are
currently entirely
> context free. That means that %define will be parsed and
recognized in
> comments, inside quotes, in the false branch of %if
clauses, everywhere.
Comment 1 Bill Nottingham 1999-10-13 18:41:59 EDT
Hmm... true. That RPM was built before RPM started doing that.

Note You need to log in before you can comment on or make changes to this bug.