revised workaround for %ghost issue
This commit is contained in:
parent
4064a38db7
commit
719bed34fd
@ -165,7 +165,7 @@ Summary: Cluster File System
|
||||
%if ( 0%{_for_fedora_koji_builds} )
|
||||
Name: glusterfs
|
||||
Version: 3.7.2
|
||||
Release: 2%{?prereltag:.%{prereltag}}%{?dist}
|
||||
Release: 3%{?prereltag:.%{prereltag}}%{?dist}
|
||||
Vendor: Fedora Project
|
||||
%else
|
||||
Name: @PACKAGE_NAME@
|
||||
@ -814,6 +814,10 @@ find ./tests ./run-tests.sh -type f | cpio -pd %{buildroot}%{_prefix}/share/glus
|
||||
install -p -m 0744 -D extras/command-completion/gluster.bash \
|
||||
%{buildroot}%{_sysconfdir}/bash_completion.d/gluster
|
||||
|
||||
mv %{buildroot}%{_sharedstatedir}/glusterd/hooks/1/delete/post/S57glusterfind-delete-post.* %{buildroot}%{_libexecdir}/glusterfs/
|
||||
ln -s %{_libexecdir}/glusterfs/S57glusterfind-delete-post.py %{buildroot}%{_sharedstatedir}/glusterd/hooks/1/delete/post/S57glusterfind-delete-post.py
|
||||
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
@ -1231,7 +1235,6 @@ fi
|
||||
%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
|
||||
@ -1249,13 +1252,15 @@ fi
|
||||
%{_bindir}/glusterfind
|
||||
%{_libexecdir}/glusterfs/peer_add_secret_pub
|
||||
%{_sharedstatedir}/glusterd/hooks/1/delete/post/S57glusterfind-delete-post.py
|
||||
%exclude %{_sharedstatedir}/glusterd/hooks/1/delete/post/S57glusterfind-delete-post.pyc
|
||||
%exclude %{_sharedstatedir}/glusterd/hooks/1/delete/post/S57glusterfind-delete-post.pyo
|
||||
%{_libexecdir}/glusterfs/S57glusterfind-delete-post.*
|
||||
|
||||
|
||||
%changelog
|
||||
* Tue Jun 23 2015 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 3.7.2-3
|
||||
- revised workaround for %%ghost issue
|
||||
|
||||
* Mon Jun 22 2015 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 3.7.2-2
|
||||
- workaround for %%ghost %{_sharedstatedir}/glusterd/hooks/1/delete/post
|
||||
- workaround for %%ghost %%{_sharedstatedir}/glusterd/hooks/1/delete/post
|
||||
pending correct fix that also packages the .pyc and .pyo files.
|
||||
|
||||
* Fri Jun 19 2015 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 3.7.2-1
|
||||
|
Loading…
Reference in New Issue
Block a user