X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=Makefile;h=01da7d1298252e1ba67cb141f57bd48255c03971;hb=c29940c58de3e44c0c1dd5c4eda5e0268d963b14;hp=1548f36829e57347f383393d5984a21b76e372b6;hpb=1211beb572bb6185633de9b262f0bf087fc912f5;p=vpp.git diff --git a/Makefile b/Makefile index 1548f36829e..01da7d12982 100644 --- a/Makefile +++ b/Makefile @@ -72,13 +72,14 @@ else endif RPM_DEPENDS = redhat-lsb glibc-static java-1.8.0-openjdk-devel yum-utils +RPM_DEPENDS += apr-devel RPM_DEPENDS += openssl-devel RPM_DEPENDS += numactl-devel ifeq ($(OS_ID)-$(OS_VERSION_ID),fedora-25) RPM_DEPENDS += python-devel RPM_DEPENDS += python2-virtualenv RPM_DEPENDS_GROUPS = 'C Development Tools and Libraries' -else ifeq ($(shell if [ $(echo "$(OS_VERSION_ID) > 25" | bc) -eq 1 ] ; then echo "y" ; fi),"y") +else ifeq ($(shell if [ "$(OS_ID)" = "fedora" ]; then test $(OS_VERSION_ID) -gt 25; echo $$?; fi),0) RPM_DEPENDS += python2-devel RPM_DEPENDS += python2-virtualenv RPM_DEPENDS_GROUPS = 'C Development Tools and Libraries'