rpms/ctapi-common/F-7 ctapi-common.spec,1.5,1.6
Frank Büttner (frankb)
fedora-extras-commits at redhat.com
Sun Aug 5 08:46:42 UTC 2007
Author: frankb
Update of /cvs/pkgs/rpms/ctapi-common/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv9949
Modified Files:
ctapi-common.spec
Log Message:
fix creation of the group and don't remove it
Index: ctapi-common.spec
===================================================================
RCS file: /cvs/pkgs/rpms/ctapi-common/F-7/ctapi-common.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- ctapi-common.spec 23 Jul 2007 16:46:37 -0000 1.5
+++ ctapi-common.spec 5 Aug 2007 08:46:10 -0000 1.6
@@ -1,16 +1,26 @@
# Not noarch, but nothing to strip:
%define debug_package %{nil}
+#for the gid creation
+#%%bcond_without fedora
+%global username ctapiusers
+
Name: ctapi-common
Version: 1.1
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: Common files and packaging infrastructure for CT-API modules
Group: System Environment/Libraries
License: MIT
URL: http://fedoraproject.org/
+Requires(pre): shadow-utils
+
+Provides: group(%username)
+
Source0: %{name}.LICENSE
Source1: %{name}.README
+#BuildRequires: fedora-usermgmt-devel
+#%%{?FE_USERADD_REQ}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires(pre): shadow-utils
@@ -39,10 +49,8 @@
%clean
rm -rf $RPM_BUILD_ROOT
-
%pre
-getent group ctapiusers >/dev/null || groupadd -r ctapiusers || :
-
+getent group %username >/dev/null || groupadd -r %username || :
%files
%defattr(-,root,root,-)
@@ -53,6 +61,9 @@
%changelog
+* Sat Aug 04 2007 Frank Büttner <frank-buettner at gmx.net> - 1.1-3
+ - fix creation of the group and don't remove it
+
* Mon Jul 23 2007 Ville Skyttä <ville.skytta at iki.fi> - 1.1-2
- Change group to ctapiusers.
- Don't hardcode a static gid.
More information about the scm-commits
mailing list