rpms/ctapi-common/devel ctapi-common.spec,1.6,1.7
Ville Skytta (scop)
fedora-extras-commits at redhat.com
Mon Jul 23 16:47:21 UTC 2007
Author: scop
Update of /cvs/pkgs/rpms/ctapi-common/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv21870/devel
Modified Files:
ctapi-common.spec
Log Message:
* Mon Jul 23 2007 Ville Skyttä <ville.skytta at iki.fi> - 1.1-2
- Change group to ctapiusers.
- Don't hardcode a static gid.
- Don't remove the group at all.
- Require shadow-utils for group creation.
Index: ctapi-common.spec
===================================================================
RCS file: /cvs/pkgs/rpms/ctapi-common/devel/ctapi-common.spec,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- ctapi-common.spec 21 Jul 2007 15:02:19 -0000 1.6
+++ ctapi-common.spec 23 Jul 2007 16:46:49 -0000 1.7
@@ -3,7 +3,7 @@
Name: ctapi-common
Version: 1.1
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Common files and packaging infrastructure for CT-API modules
Group: System Environment/Libraries
@@ -13,6 +13,8 @@
Source1: %{name}.README
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Requires(pre): shadow-utils
+
%description
%{summary}.
@@ -37,11 +39,10 @@
%clean
rm -rf $RPM_BUILD_ROOT
-%post
-groupadd -r -g 300 cardusers||:
-%postun
-groupdel cardusers||:
+%pre
+getent group ctapiusers >/dev/null || groupadd -r ctapiusers || :
+
%files
%defattr(-,root,root,-)
@@ -52,6 +53,12 @@
%changelog
+* Mon Jul 23 2007 Ville Skyttä <ville.skytta at iki.fi> - 1.1-2
+- Change group to ctapiusers.
+- Don't hardcode a static gid.
+- Don't remove the group at all.
+- Require shadow-utils for group creation.
+
* Sat Jul 21 2007 Frank Büttner <frank-buettner at gmx.net> - 1.1-1
- set version to 1.1 so that other packages can require it
More information about the scm-commits
mailing list