[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: cup version drop "v"
- From: Leonard den Ottolander <leonard den ottolander nl>
- To: Development discussions related to Fedora Core <fedora-devel-list redhat com>
- Subject: Re: cup version drop "v"
- Date: Mon, 10 May 2004 16:01:03 +0200
Hi Panu,
> > This
> > exception is a pita when using scripts to sort rpms by version.
> Sorting rpm's without using rpm's own version comparison algorithm is
> guaranteed to break at some point, better use rpm-python bindings for such
> tasks.
Actually my "sorting algorithm" is much easier: I'm sorting the
downloaded updates by date ;-) . I break the version of by splitting the
file name on the third dash from the end.
It's just that when picking the latest version of a package I check for
a digit after the package name as to avoid confusion between fe cup and
cup-devel. Versions starting with a letter break with this check.
Leonard.
--
mount -t life -o ro /dev/dna /genetic/research
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]