Fix post created symlinks group owner to 'pegasus'

This commit is contained in:
Vitezslav Crhonek 2011-12-01 12:15:27 +01:00
parent 9b217405be
commit dddd1b975c

View File

@ -8,7 +8,7 @@
Name: tog-pegasus Name: tog-pegasus
Version: %{major_ver}.1 Version: %{major_ver}.1
Release: 1%{?dist} Release: 2%{?dist}
Epoch: 2 Epoch: 2
Summary: OpenPegasus WBEM Services for Linux Summary: OpenPegasus WBEM Services for Linux
@ -413,11 +413,27 @@ if [ $1 -eq 1 ]; then
# Create Symbolic Links for Packaged Provider Managers # Create Symbolic Links for Packaged Provider Managers
# #
ln -sf libCMPIProviderManager.so.1 /usr/%PEGASUS_ARCH_LIB/Pegasus/providerManagers/libCMPIProviderManager.so ln -sf libCMPIProviderManager.so.1 /usr/%PEGASUS_ARCH_LIB/Pegasus/providerManagers/libCMPIProviderManager.so
# Change ownership of Symbolic Links to the 'pegasus' group
#
/bin/chgrp -h pegasus /usr/%{_lib}/libpegclient.so
/bin/chgrp -h pegasus /usr/%{_lib}/libpegcommon.so
/bin/chgrp -h pegasus /usr/%{_lib}/libpegprovider.so
/bin/chgrp -h pegasus /usr/%{_lib}/libDefaultProviderManager.so
/bin/chgrp -h pegasus /usr/%{_lib}/libCIMxmlIndicationHandler.so
/bin/chgrp -h pegasus /usr/%{_lib}/libsnmpIndicationHandler.so
/bin/chgrp -h pegasus /usr/%{_lib}/Pegasus/providers/libComputerSystemProvider.so
/bin/chgrp -h pegasus /usr/%{_lib}/Pegasus/providers/libOSProvider.so
/bin/chgrp -h pegasus /usr/%{_lib}/Pegasus/providers/libProcessProvider.so
/bin/chgrp -h pegasus /usr/%{_lib}/Pegasus/providerManagers/libCMPIProviderManager.so
fi fi
:; :;
%changelog %changelog
* Thu Dec 01 2011 Vitezslav Crhonek <vcrhonek@redhat.com> - 2:2.11.1-2
- Fix post created symlinks group owner to 'pegasus'
* Tue Sep 27 2011 Vitezslav Crhonek <vcrhonek@redhat.com> - 2:2.11.1-1 * Tue Sep 27 2011 Vitezslav Crhonek <vcrhonek@redhat.com> - 2:2.11.1-1
- Update to upstream version 2.11.1 - Update to upstream version 2.11.1
- Add explicit file attributes where RPM requires it - Add explicit file attributes where RPM requires it