From 45691061daf270eda4046bcbab4a5caab06d6825 Mon Sep 17 00:00:00 2001 From: Marcin Krol Date: Sat, 28 Oct 2017 12:44:35 +0000 Subject: [PATCH] - make hooks.sh and system functions non-configs so they always get replaced during upgrade - fixed some dir packaging --- dehydrated.spec | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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} -- 2.46.0