On Sat, 2008-05-24 at 01:00 +0200, Hans Ulrich Niedermann wrote: > 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? Probably. This is something we should look into, and I've added it to my todo list. ~spot -- fedora-devel-list mailing list fedora-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-devel-list