Bug 58608 - %if statements in current sendmail spec file are wrong
Summary: %if statements in current sendmail spec file are wrong
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Raw Hide
Classification: Retired
Component: sendmail
Version: 1.0
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Florian La Roche
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-01-21 17:20 UTC by Jonathan Kamens
Modified: 2007-04-18 16:39 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2002-01-21 17:20:15 UTC
Embargoed:


Attachments (Terms of Use)

Description Jonathan Kamens 2002-01-21 17:20:10 UTC
With rpm-4.0.4-0.12, the current Raw Hide sendmail builds wrong.  This is
because the checks against %{errata} and %{release} in sendmail.spec use quotes,
thus turning the things being compared from numbers into strings, and although
the *string* "100" is less than the *string* "70", for example, the *number* 100
is greater, and that's the behavior that was intended by the %if statements.

All the quotation marks in the %if statements in the spec file should be
removed.

Comment 1 Florian La Roche 2002-02-18 17:09:47 UTC
Fixed in current version.

Thanks for this bug-report,

Florian La Roche



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