rpms/ctapi-common/devel ctapi-common.spec,1.7,1.8
Frank Büttner (frankb)
fedora-extras-commits at redhat.com
Sat Aug 4 18:46:28 UTC 2007
Author: frankb
Update of /cvs/pkgs/rpms/ctapi-common/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv9771
Modified Files:
ctapi-common.spec
Log Message:
insert the fix agin for the only root bug
Index: ctapi-common.spec
===================================================================
RCS file: /cvs/pkgs/rpms/ctapi-common/devel/ctapi-common.spec,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- ctapi-common.spec 23 Jul 2007 16:46:49 -0000 1.7
+++ ctapi-common.spec 4 Aug 2007 18:45:56 -0000 1.8
@@ -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 fedora-extras-commits
mailing list