[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



On Sun, 06 Jul 2008 15:02:52 +0200
Hans Ulrich Niedermann <hun n-dimensional de> wrote:

> 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/
> 

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.

Paul.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]