[packages/zabbix] Package /etc/zabbix/zabbix_agent2.conf.d dir
glen
glen at pld-linux.org
Wed Aug 25 14:11:50 CEST 2021
commit 297b7196409c739b4e5f5a084e07fc6d82082cc4
Author: Elan Ruusamäe <glen at pld-linux.org>
Date: Wed Aug 25 14:23:50 2021 +0300
Package /etc/zabbix/zabbix_agent2.conf.d dir
zabbix.spec | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/zabbix.spec b/zabbix.spec
index da398ea..eeb746d 100644
--- a/zabbix.spec
+++ b/zabbix.spec
@@ -24,7 +24,7 @@ Summary: Zabbix - network monitoring software
Summary(pl.UTF-8): Zabbix - oprogramowanie do monitorowania sieci
Name: zabbix
Version: 5.4.3
-Release: 0.6
+Release: 0.7
License: GPL v2+
Group: Networking/Utilities
# https://www.zabbix.com/download_sources
@@ -401,7 +401,9 @@ done
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_sysconfdir},/etc/rc.d/init.d,/etc/webapps/%{_webapp},%{_appdir}/frontends/php} \
+install -d \
+ $RPM_BUILD_ROOT{%{_sysconfdir}/zabbix_agent2.conf.d,/etc/webapps/%{_webapp}} \
+ $RPM_BUILD_ROOT{/etc/rc.d/init.d,%{_appdir}/frontends/php} \
$RPM_BUILD_ROOT{/var/run/zabbix,/var/log/zabbix,%{systemdunitdir},%{systemdtmpfilesdir}}
%{__make} install \
@@ -606,6 +608,7 @@ ln -sf zabbix_proxy-sqlite3 %{_sbindir}/zabbix_proxy || :
%files agent2
%defattr(644,root,root,755)
%attr(640,root,zabbix) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/zabbix_agent2.conf
+%dir %attr(751,root,zabbix) %{_sysconfdir}/zabbix_agent2.conf.d
%attr(755,root,root) %{_sbindir}/zabbix_agent2
%{_mandir}/man8/zabbix_agent2.8*
%endif
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/zabbix.git/commitdiff/1afc63f3b775e6ffc80b999e43d6ee4d76ea9b1b
More information about the pld-cvs-commit
mailing list