"10" < "9": Get rid of string comparisons in time for F-10?

Hans Ulrich Niedermann hun at n-dimensional.de
Sun Jul 6 16:08:29 UTC 2008


Nicolas Mailhot wrote:
> Le dimanche 06 juillet 2008 à 15:29 +0100, Paul Howarth a écrit :
> 
>> Some false positives here:
>>
>> lat
>>     lat.spec:14:%if "%{?fedora}" == "5"
>>     lat.spec:42:%if "%{?fedora}" == "5"
>>     lat.spec:111:%if "%{?fedora}" == "5"
>>
>> These are not a problem.
> 
> Actually since FC5 has been EOLed for a long time, some legacy baggage
> cleaning up is in order.

Well, it is still useful at least as documentation for people wanting to 
build newer packages on older systems. Enterprise disto derivates, and 
standalone lab boxes running Fedora spring to mind.

Apropos... I am not checking for improper %{epel} or %{rhel} usage, but 
some spec files contain conditionals with them.

-- 
Hans Ulrich Niedermann

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 259 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/fedora-devel-list/attachments/20080706/4f717243/attachment.sig>


More information about the fedora-devel-list mailing list