Remove sfcb system group in post uninstall scriptlet, Fix minor rpmlint warnings
This commit is contained in:
parent
370bc5d143
commit
a5c6038bf9
@ -8,12 +8,12 @@ Name: sblim-sfcb
|
|||||||
Summary: Small Footprint CIM Broker
|
Summary: Small Footprint CIM Broker
|
||||||
URL: http://www.sblim.org
|
URL: http://www.sblim.org
|
||||||
Version: 1.3.11
|
Version: 1.3.11
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Group: Applications/System
|
Group: Applications/System
|
||||||
License: EPL
|
License: EPL
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}
|
||||||
Source0: http://downloads.sourceforge.net/sblim/%{name}-%{version}.tar.bz2
|
Source0: http://downloads.sourceforge.net/sblim/%{name}-%{version}.tar.bz2
|
||||||
Patch0: %{name}-disable_auto_service_start.patch
|
Patch0: %{name}-disable_auto_service_start.patch
|
||||||
Patch1: sblim-sfcb-1.3.7-initscript.patch
|
Patch1: sblim-sfcb-1.3.7-initscript.patch
|
||||||
Patch2: sblim-sfcb-1.3.7-close_logging.patch
|
Patch2: sblim-sfcb-1.3.7-close_logging.patch
|
||||||
Patch3: sblim-sfcb-1.3.9-sfcbrepos-schema-location.patch
|
Patch3: sblim-sfcb-1.3.9-sfcbrepos-schema-location.patch
|
||||||
@ -40,9 +40,9 @@ sfcb supports providers written against the Common Manageability
|
|||||||
Programming Interface (CMPI).
|
Programming Interface (CMPI).
|
||||||
|
|
||||||
#%package devel
|
#%package devel
|
||||||
#Summary: Sblim-sfcb Development Files
|
#Summary: Sblim-sfcb Development Files
|
||||||
#Group: Development/Libraries
|
#Group: Development/Libraries
|
||||||
#Requires: %{name} = %{version}-%{release}
|
#Requires: %{name} = %{version}-%{release}
|
||||||
#%description devel
|
#%description devel
|
||||||
#Sblim-sfcb Development Files
|
#Sblim-sfcb Development Files
|
||||||
|
|
||||||
@ -130,6 +130,10 @@ if [ $1 -ge 1 ] ; then
|
|||||||
/bin/systemctl try-restart sfcb.service >/dev/null 2>&1 || :
|
/bin/systemctl try-restart sfcb.service >/dev/null 2>&1 || :
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ $1 -eq 0 ]; then
|
||||||
|
/usr/sbin/groupdel sfcb > /dev/null 2>&1 || :;
|
||||||
|
fi;
|
||||||
|
|
||||||
%files -f _pkg_list
|
%files -f _pkg_list
|
||||||
/lib/systemd/system/sfcb.service
|
/lib/systemd/system/sfcb.service
|
||||||
#%files devel
|
#%files devel
|
||||||
@ -140,6 +144,10 @@ fi
|
|||||||
#%doc COPYING README
|
#%doc COPYING README
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Jun 15 2011 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.3.11-2
|
||||||
|
- Remove sfcb system group in post uninstall scriptlet
|
||||||
|
- Fix minor rpmlint warnings
|
||||||
|
|
||||||
* Thu May 26 2011 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.3.11-1
|
* Thu May 26 2011 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.3.11-1
|
||||||
- Update to sblim-sfcb-1.3.11
|
- Update to sblim-sfcb-1.3.11
|
||||||
|
|
||||||
@ -155,7 +163,7 @@ fi
|
|||||||
* Fri Jan 7 2011 Praveen K Paladugu <praveen_paladugu@dell.com> - 1.3.10-2
|
* Fri Jan 7 2011 Praveen K Paladugu <praveen_paladugu@dell.com> - 1.3.10-2
|
||||||
- Following the BZ#660072, added sfcb.service file for compliance with systemd
|
- Following the BZ#660072, added sfcb.service file for compliance with systemd
|
||||||
- Since sfcb's PAM authentication requires, the user to be in group sfcb,
|
- Since sfcb's PAM authentication requires, the user to be in group sfcb,
|
||||||
- added the root user to "sfcb" group in %pre section.
|
- added the root user to "sfcb" group in %%pre section.
|
||||||
|
|
||||||
* Mon Dec 6 2010 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.3.10-1
|
* Mon Dec 6 2010 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.3.10-1
|
||||||
- Update to sblim-sfcb-1.3.10
|
- Update to sblim-sfcb-1.3.10
|
||||||
|
Loading…
Reference in New Issue
Block a user