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

2021-12-07 Thread Jakub Bogusz
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 
> > 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@ixion ~]$ rpmvercmp s20190709 20210722
> s20190709 < 20210722
> [arekm@ixion ~]$ rpmvercmp 20210722 s20190709
> 20210722 > s20190709
> [arekm@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 Boguszhttp://qboosh.pl/
___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en


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

2021-12-07 Thread Arkadiusz Miśkiewicz via pld-devel-en
W dniu 07.12.2021 o 21:05, qboosh pisze:
> commit 3a2973d1fda11d4c2c73488d06ab1c940768ce15
> Author: Jakub Bogusz 
> 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@ixion ~]$ rpmvercmp s20190709 20210722
s20190709 < 20210722
[arekm@ixion ~]$ rpmvercmp 20210722 s20190709
20210722 > s20190709
[arekm@ixion ~]$ rpm --version
RPM version 4.16.1.3

You say otherwise, why?

-- 
Arkadiusz Miśkiewicz, arekm / ( maven.pl | pld-linux.org )
___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en