From 05470bf202efb4647162863e577592c606ec6fd7 Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Fri, 23 Aug 2019 21:38:04 -0700 Subject: [PATCH] Fix RPM targets --- make-linux.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/make-linux.mk b/make-linux.mk index 6fdfb8a4d..329726622 100644 --- a/make-linux.mk +++ b/make-linux.mk @@ -403,7 +403,7 @@ debian-clean: FORCE rm -rf debian/files debian/zerotier-one*.debhelper debian/zerotier-one.substvars debian/*.log debian/zerotier-one debian/.debhelper debian/debhelper-build-stamp redhat: FORCE - rpmbuild -ba zerotier-one.spec + rpmbuild --target `rpm -q bash --qf "%{arch}"` -ba zerotier-one.spec # This installs the packages needed to build ZT locally on CentOS 7 and # is here largely for documentation purposes.