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

Hans Ulrich Niedermann hun at n-dimensional.de
Sun Jul 6 13:02:52 UTC 2008


A short reminder what this is about:

     %if "%{?fedora}" > "7"
     <something which should work in F-8, F-9, F-10, F-11, etc.>
     %endif

This fails to work as intended in rawhide/devel/F10 and later and should 
be fixed.

Summary for 2008-07-06
----------------------
devel:  58 string comparisons in 32 spec files
F-9:    78 string comparisons in 46 spec files
F-8:   109 string comparisons in 56 spec files
F-7:   118 string comparisons in 62 spec files

The packages in rawhide will definitely be affected by this, might 
already be breaking stuff, and really should be fixed:

    http://ndim.fedorapeople.org/stuff/rpm/string-comp-devel.log

Graphing the numbers over time shows a definite decrease in 
devel/rawhide/F10, but nothing approaching zero for a long time:

    http://ndim.fedorapeople.org/stuff/rpm/

-- 
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/46f9ef0b/attachment.sig>


More information about the fedora-devel-list mailing list