From d46d571d86c86bd387de323522cfcb8a013f28ad Mon Sep 17 00:00:00 2001 From: "Kaleb S. KEITHLEY" Date: Tue, 1 Sep 2015 12:12:21 -0400 Subject: packaging: incorrect %ghost of .../hooks/1/delete causes install failure .../hooks/1/delete is not a %ghost by virtue of having actual files namely .../post/S57glusterfind-delete-post.py Change-Id: I544bcfbc898007c79be11e911e6d66e242018740 BUG: 1258975 Signed-off-by: Kaleb S. KEITHLEY Reviewed-on: http://review.gluster.org/12080 Reviewed-by: Jeff Darcy Tested-by: NetBSD Build System Tested-by: Gluster Build System Reviewed-by: Niels de Vos --- glusterfs.spec.in | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/glusterfs.spec.in b/glusterfs.spec.in index 994849ca6b9..93cefe2a1b3 100644 --- a/glusterfs.spec.in +++ b/glusterfs.spec.in @@ -1197,6 +1197,8 @@ fi %dir %attr(0755,-,-) %{_sharedstatedir}/glusterd/hooks/1/start/post %dir %attr(0755,-,-) %{_sharedstatedir}/glusterd/hooks/1/stop %dir %attr(0755,-,-) %{_sharedstatedir}/glusterd/hooks/1/stop/pre +%dir %attr(0755,-,-) %{_sharedstatedir}/glusterd/hooks/1/delete +%dir %attr(0755,-,-) %{_sharedstatedir}/glusterd/hooks/1/delete/post %ghost %attr(0644,-,-) %config(noreplace) %{_sharedstatedir}/glusterd/glusterd.info %ghost %attr(0600,-,-) %{_sharedstatedir}/glusterd/options @@ -1212,8 +1214,6 @@ fi %ghost %dir %attr(0755,-,-) %{_sharedstatedir}/glusterd/hooks/1/create %ghost %dir %attr(0755,-,-) %{_sharedstatedir}/glusterd/hooks/1/create/post %ghost %dir %attr(0755,-,-) %{_sharedstatedir}/glusterd/hooks/1/create/pre -%ghost %dir %attr(0755,-,-) %{_sharedstatedir}/glusterd/hooks/1/delete - %dir %attr(0755,-,-) %{_sharedstatedir}/glusterd/hooks/1/delete/post %ghost %dir %attr(0755,-,-) %{_sharedstatedir}/glusterd/hooks/1/delete/pre %ghost %dir %attr(0755,-,-) %{_sharedstatedir}/glusterd/glustershd %ghost %dir %attr(0755,-,-) %{_sharedstatedir}/glusterd/vols @@ -1234,6 +1234,9 @@ fi %changelog +* Tue Sep 1 2015 Kaleb S. KEITHLEY +- erroneous ghost of ../hooks/1/delete causes install failure (#1258975) + * Tue Aug 18 2015 Niels de Vos - Include missing directories for glusterfind hooks scripts (#1225465) -- cgit