From: Marcin Krol Date: Sat, 28 Oct 2017 12:44:35 +0000 (+0000) Subject: - make hooks.sh and system functions non-configs so they always get X-Git-Url: https://git.tld-linux.org/?p=packages%2Fdehydrated.git;a=commitdiff_plain;h=45691061daf270eda4046bcbab4a5caab06d6825 - make hooks.sh and system functions non-configs so they always get replaced during upgrade - fixed some dir packaging --- diff --git a/dehydrated.spec b/dehydrated.spec index 62f11b3..d95dc1c 100644 --- a/dehydrated.spec +++ b/dehydrated.spec @@ -111,11 +111,11 @@ rm -rf $RPM_BUILD_ROOT %attr(755,root,root) /etc/%{name}/conf.d %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/%{name}/conf.d/*.sh %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/%{name}/domains.txt -%attr(755,root,root) /etc/%{name}/hooks +%dir %attr(755,root,root) /etc/%{name}/hooks %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/%{name}/hooks/custom_functions -%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/%{name}/hooks/functions -%attr(750,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/%{name}/hooks/hook.sh -%attr(755,root,root) /etc/%{name}/hooks.d +%attr(640,root,root) /etc/%{name}/hooks/functions +%attr(750,root,root) /etc/%{name}/hooks/hook.sh +%dir %attr(755,root,root) /etc/%{name}/hooks.d %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/%{name}/hooks.d/global %attr(755,root,root) %{_sbindir}/%{name} %dir %attr(751,root,root) /var/lib/%{name}