rpm spec:: Requires conditions format :: lower not working

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hi! I'm trying to give a range of versions for a dependency in the form of :
Requires: xrootd-server >= 4.1.0
Requires: xrootd-server < 5.0.0

with the already installed package having the versions:
[rpmbuild@el7build SPECS]$ rpm -qa --queryformat '%{name} %{version}\n' | grep xrootd | sort
xrootd 4.12.2
xrootd-client 4.12.2
xrootd-client-devel 4.12.2
xrootd-client-libs 4.12.2
xrootd-devel 4.12.2
xrootd-libs 4.12.2
xrootd-private-devel 4.12.2
xrootd-selinux 4.12.2
xrootd-server 4.12.2
xrootd-server-devel 4.12.2
xrootd-server-libs 4.12.2

when i'm trying to build i get:
error: Failed build dependencies:
xrootd-devel < 5.0.0 is needed by xrootd-alicetokenacc-1:1.3.1-2.el7.x86_64 xrootd-server-devel < 5.0.0 is needed by xrootd-alicetokenacc-1:1.3.1-2.el7.x86_64

Does anyone have any idea why the condition is not fulfilled?

i am aware of both
http://ftp.rpm.org/api/4.4.2.2/dependencies.html
and
http://ftp.rpm.org/api/4.4.2.2/rpmvercmp_8c-source.html
(under assuption that these holds true for the current 4.11.3 from centos 7)

Thanks a lot!
Adrian
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]


  Powered by Linux