[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
"10" < "9": Get rid of string comparisons in time for F-10?
- From: Hans Ulrich Niedermann <hun n-dimensional de>
- To: fedora-devel-list redhat com
- Subject: "10" < "9": Get rid of string comparisons in time for F-10?
- Date: Sat, 24 May 2008 01:00:26 +0200
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-1c550109af0705ccb71329619b99428af2fd3e25
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
Attachment:
signature.asc
Description: OpenPGP digital signature
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]