diff options
author | Thomas F Herbert <therbert@redhat.com> | 2017-08-01 12:46:41 -0400 |
---|---|---|
committer | Sergio Gonzalez Monroy <sergio.gonzalez.monroy@intel.com> | 2017-08-04 07:12:06 +0000 |
commit | 33129bb9a3e954b7c9ba7a72f16550b1cf91dc9e (patch) | |
tree | 2f0d1d6c07b6b93631ca9d042d5cce21efe90023 | |
parent | 22d32d916f4f3806501cf39b324be19e06b89c12 (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>
-rw-r--r-- | Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -85,7 +85,11 @@ endif # +ganglia-devel if building the ganglia plugin 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 epel-rpm-macros ifeq ($(filter rhel centos,$(OS_ID)),$(OS_ID)) EPEL_DEPENDS += lcov |