rpms/oprofile/F-10 oprofile.spec,1.74,1.75

William Eden Cohen wcohen at fedoraproject.org
Tue May 12 18:33:34 UTC 2009


Author: wcohen

Update of /cvs/pkgs/rpms/oprofile/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv20530

Modified Files:
	oprofile.spec 
Log Message:
Specify UID and GID for oprofile.



Index: oprofile.spec
===================================================================
RCS file: /cvs/pkgs/rpms/oprofile/F-10/oprofile.spec,v
retrieving revision 1.74
retrieving revision 1.75
diff -u -p -r1.74 -r1.75
--- oprofile.spec	24 Apr 2009 01:39:42 -0000	1.74
+++ oprofile.spec	12 May 2009 18:33:04 -0000	1.75
@@ -3,7 +3,7 @@
 Summary: System wide profiler
 Name: oprofile
 Version: 0.9.4
-Release: 7%{?dist}
+Release: 9%{?dist}
 License: GPLv2
 Group: Development/System
 #
@@ -159,9 +159,9 @@ echo "%{_libdir}/oprofile" > %{buildroot
 rm -rf ${RPM_BUILD_ROOT}
 
 %pre
-getent group oprofile >/dev/null || groupadd -r oprofile
+getent group oprofile >/dev/null || groupadd -r -g 16 oprofile
 getent passwd oprofile >/dev/null || \
-useradd -r -g oprofile -d /home/oprofile -s /sbin/nologin \
+useradd -r -g oprofile -d /home/oprofile -r -u 16 -s /sbin/nologin \
     -c "Special user account to be used by OProfile" oprofile
 exit 0
 
@@ -227,6 +227,9 @@ exit 0
 /etc/ld.so.conf.d/*
 
 %changelog
+* Mon May 11 2009 Will Cohen <wcohen at redhat.com> - 0.9.4-9
+- Assign specific UID and GID to oprofile.
+
 * Thu Apr 23 2009 Will Cohen <wcohen at redhat.com> - 0.9.4-7
 - Backport Intel Architecture Perfmon support. Resolves: rhbz #497230
 




More information about the scm-commits mailing list