Remove sfcb system group in post uninstall scriptlet, Fix minor rpmlint warnings

This commit is contained in:
Vitezslav Crhonek 2011-06-15 14:15:26 +02:00
parent 370bc5d143
commit a5c6038bf9

View File

@ -8,12 +8,12 @@ Name: sblim-sfcb
Summary: Small Footprint CIM Broker
URL: http://www.sblim.org
Version: 1.3.11
Release: 1%{?dist}
Release: 2%{?dist}
Group: Applications/System
License: EPL
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}
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
Patch2: sblim-sfcb-1.3.7-close_logging.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).
#%package devel
#Summary: Sblim-sfcb Development Files
#Group: Development/Libraries
#Requires: %{name} = %{version}-%{release}
#Summary: Sblim-sfcb Development Files
#Group: Development/Libraries
#Requires: %{name} = %{version}-%{release}
#%description devel
#Sblim-sfcb Development Files
@ -130,6 +130,10 @@ if [ $1 -ge 1 ] ; then
/bin/systemctl try-restart sfcb.service >/dev/null 2>&1 || :
fi
if [ $1 -eq 0 ]; then
/usr/sbin/groupdel sfcb > /dev/null 2>&1 || :;
fi;
%files -f _pkg_list
/lib/systemd/system/sfcb.service
#%files devel
@ -140,6 +144,10 @@ fi
#%doc COPYING README
%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
- 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
- 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,
- 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
- Update to sblim-sfcb-1.3.10