rpms/oprofile/devel oprofile.spec,1.77,1.78

William Eden Cohen wcohen at fedoraproject.org
Tue May 12 18:23:36 UTC 2009


Author: wcohen

Update of /cvs/pkgs/rpms/oprofile/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv17887

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



Index: oprofile.spec
===================================================================
RCS file: /cvs/pkgs/rpms/oprofile/devel/oprofile.spec,v
retrieving revision 1.77
retrieving revision 1.78
diff -u -p -r1.77 -r1.78
--- oprofile.spec	23 Apr 2009 21:35:47 -0000	1.77
+++ oprofile.spec	12 May 2009 18:23:06 -0000	1.78
@@ -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 fedora-extras-commits mailing list