[tog-pegasus] Fix post created symlinks group owner to 'pegasus'
vcrhonek
vcrhonek at fedoraproject.org
Thu Dec 1 11:15:43 UTC 2011
commit dddd1b975c827ac9aa008fa83b976c87405113ea
Author: Vitezslav Crhonek <vcrhonek at redhat.com>
Date: Thu Dec 1 12:15:27 2011 +0100
Fix post created symlinks group owner to 'pegasus'
tog-pegasus.spec | 18 +++++++++++++++++-
1 files changed, 17 insertions(+), 1 deletions(-)
---
diff --git a/tog-pegasus.spec b/tog-pegasus.spec
index 610a8ce..837f708 100644
--- a/tog-pegasus.spec
+++ b/tog-pegasus.spec
@@ -8,7 +8,7 @@
Name: tog-pegasus
Version: %{major_ver}.1
-Release: 1%{?dist}
+Release: 2%{?dist}
Epoch: 2
Summary: OpenPegasus WBEM Services for Linux
@@ -413,11 +413,27 @@ if [ $1 -eq 1 ]; then
# Create Symbolic Links for Packaged Provider Managers
#
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
:;
%changelog
+* Thu Dec 01 2011 Vitezslav Crhonek <vcrhonek at redhat.com> - 2:2.11.1-2
+- Fix post created symlinks group owner to 'pegasus'
+
* Tue Sep 27 2011 Vitezslav Crhonek <vcrhonek at redhat.com> - 2:2.11.1-1
- Update to upstream version 2.11.1
- Add explicit file attributes where RPM requires it
More information about the scm-commits
mailing list