Bug 5925 - Bad spec file - cannot be built except on alpha
Bad spec file - cannot be built except on alpha
Status: CLOSED RAWHIDE
Product: Red Hat Linux
Classification: Retired
Component: anonftp (Show other bugs)
6.1
All Linux
medium Severity medium
: ---
: ---
Assigned To: Cristian Gafton
:
Depends On:
Blocks:
  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:
Environment:
Last Closed: 2000-01-27 13:45:20 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


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
topic...

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.