On #fedora-devel, the issue of comparing Fedora versions by string
comparison just came up. With F-10 on the way, this will be the first
time when string comparing versions will fail in a "10" < "7" way.
The case in question was a classic older %if "%{?fedora}" > "7",
which
should be changed to %if 0%{?fedora} > 7, as Rex Dieter and Christopher
Stone have pointed out:
http://fedoraproject.org/wiki/Packaging/DistTag#head-1c550109af0705ccb713...
Where else but in spec files may similarly wrong string comparisons be
happening? Is a systematic effort required to fix these comparisons in
the run-up to F-10?
--
Hans Ulrich Niedermann