Module: check_mk
Branch: master
Commit: b6fde1b7f14a04352c484a9046dd411f1db2acef
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=b6fde1b7f14a04…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Wed Oct 4 10:48:24 2017 +0200
Use explicit list of files when packing default agent RPMs
Change-Id: I9289561bfbe25d613960f2d07d9d135e8391a82c
---
agents/Makefile | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/agents/Makefile b/agents/Makefile
index 85de987..dec3b0d 100644
--- a/agents/Makefile
+++ b/agents/Makefile
@@ -72,7 +72,14 @@ rpm $(RPM_PACKAGE):
mkdir -p $(RPM_TOPDIR)/SOURCES
mkdir -p $(RPM_TOPDIR)/BUILD
mkdir -p $(RPM_TOPDIR)/SPECS
- tar czf $(RPM_TOPDIR)/SOURCES/$(NAME)-$(VERSION).tar.gz
--transform='s@^@$(DISTNAME)/@' *
+ tar czf \
+ $(RPM_TOPDIR)/SOURCES/$(NAME)-$(VERSION).tar.gz \
+ --transform='s@^@$(DISTNAME)/@' \
+ cfg_examples \
+ check_mk_agent.linux \
+ check_mk_caching_agent.linux \
+ waitmax \
+ mk-job
sed "s/^Version:.*/Version: $(RPM_VERSION)/" $(NAME).spec >
$(NAME)-$(VERSION).spec
rm -f *.rpm
rpmbuild -ba --buildroot "$(RPM_BUILDROOT)" \