[packages/iputils] - epoch 3 (s20190709 > 20210722), BR: pkgconfig

Jakub Bogusz qboosh at pld-linux.org
Tue Dec 7 22:01:40 CET 2021


On Tue, Dec 07, 2021 at 09:51:58PM +0100, Arkadiusz Miśkiewicz via pld-devel-en wrote:
> W dniu 07.12.2021 o 21:05, qboosh pisze:
> > commit 3a2973d1fda11d4c2c73488d06ab1c940768ce15
> > Author: Jakub Bogusz <qboosh at pld-linux.org>
> > Date:   Tue Dec 7 21:05:33 2021 +0100
> > 
> >     - epoch 3 (s20190709 > 20210722), BR: pkgconfig
> 
> Hmm. My initial plan was to keep sXYZ scheme but:
> 
> [arekm at ixion ~]$ rpmvercmp s20190709 20210722
> s20190709 < 20210722
> [arekm at ixion ~]$ rpmvercmp 20210722 s20190709
> 20210722 > s20190709
> [arekm at ixion ~]$ rpm --version
> RPM version 4.16.1.3
> 
> You say otherwise, why?

Uh.
rpm 4.5 and rpm5 say

$ rpmvercmp s20190709 20210722
s20190709 > 20210722
$ rpmvercmp 20210722 s20190709
20210722 < s20190709

so it's not properly defined if it varies between versions/implementations


-- 
Jakub Bogusz    http://qboosh.pl/


More information about the pld-devel-en mailing list