Fixes ldconfig issue #1145992

This commit is contained in:
Lalatenud Mohanty 2014-09-25 13:37:14 -04:00
parent b963eff4a6
commit ef0ff32ea3

View File

@ -146,7 +146,7 @@ Summary: Cluster File System
%if ( 0%{_for_fedora_koji_builds} )
Name: glusterfs
Version: 3.6.0
Release: 0.3%{?prereltag:.%{prereltag}}%{?dist}
Release: 0.4%{?prereltag:.%{prereltag}}%{?dist}
Vendor: Fedora Project
%else
Name: @PACKAGE_NAME@
@ -731,7 +731,8 @@ rm -rf %{buildroot}
%endif
%endif
%post api -p /sbin/ldconfig
%post api
/sbin/ldconfig
%post fuse
%if ( 0%{?rhel} == 5 )
@ -746,7 +747,8 @@ if [ $1 -ge 1 ]; then
fi
%endif
%post libs -p /sbin/ldconfig
%post libs
/sbin/ldconfig
%post server
# Legacy server
@ -827,9 +829,11 @@ fi
%endif
%endif
%postun api -p /sbin/ldconfig
%postun api
/sbin/ldconfig
%postun libs -p /sbin/ldconfig
%postun libs
/sbin/ldconfig
##-----------------------------------------------------------------------------
## All %files should be placed here and keep them sorted
@ -1046,6 +1050,9 @@ fi
* Thu Sep 25 2014 Kaleb S. KEITHLEY <kkeithle[at]redhat.com>
- glusterfs-3.6.0beta2.tar.gz
* Wed Sep 24 2014 Balamurugan Arumugam <barumuga@redhat.com>
- remove /sbin/ldconfig as interpreter (#1145992)
* Mon Sep 22 2014 Kaleb S. KEITHLEY <kkeithle[at]redhat.com>
- More make fedora master glusterfs spec compatible with upstream GlusterFS 3.6 spec