aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorThomas F Herbert <therbert@redhat.com>2017-08-01 12:46:41 -0400
committerSergio Gonzalez Monroy <sergio.gonzalez.monroy@intel.com>2017-08-18 20:59:34 +0000
commitd185427282d4342aedd66eff6583d35b4487b7b3 (patch)
tree1a5c1793f250194f5f087ee910bd5025bda8a32f /Makefile
parent3cbfbd9e7489f0cb61e5a91b6fd3867334ae5fef (diff)
Fix nasm deps for Fedora.
Fedora 24 and 25 distro already includes nasm 2.12 but Centos does not as yet. Change-Id: I060ea8b7b7892ac8444d850398ed1c9100631fbc Signed-off-by: Thomas F Herbert <therbert@redhat.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 1abf1866e85..8bfc46fa5b8 100644
--- a/Makefile
+++ b/Makefile
@@ -62,7 +62,11 @@ else
RPM_DEPENDS_GROUPS = 'Development Tools'
endif
RPM_DEPENDS += chrpath libffi-devel rpm-build
-RPM_DEPENDS += https://kojipkgs.fedoraproject.org//packages/nasm/2.12.02/2.fc26/x86_64/nasm-2.12.02-2.fc26.x86_64.rpm
+ifeq ($(OS_ID),fedora)
+ RPM_DEPENDS += nasm
+else
+ RPM_DEPENDS += https://kojipkgs.fedoraproject.org//packages/nasm/2.12.02/2.fc26/x86_64/nasm-2.12.02-2.fc26.x86_64.rpm
+endif
EPEL_DEPENDS = libconfuse-devel ganglia-devel epel-rpm-macros
ifeq ($(filter rhel centos,$(OS_ID)),$(OS_ID))
EPEL_DEPENDS += lcov