[oprofile] Resolves: rhbz #772841

William Eden Cohen wcohen at fedoraproject.org
Tue Jan 10 15:29:17 UTC 2012


commit ad29fe34d02f02edc5f1785c21040b56d62c5b80
Author: William Cohen <wcohen at redhat.com>
Date:   Tue Jan 10 10:28:18 2012 -0500

    Resolves: rhbz #772841

 oprofile.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/oprofile.spec b/oprofile.spec
index e97fa62..8a0152c 100644
--- a/oprofile.spec
+++ b/oprofile.spec
@@ -1,7 +1,7 @@
 Summary: System wide profiler
 Name: oprofile
 Version: 0.9.7
-Release: 1%{?dist}
+Release: 2%{?dist}
 License: GPLv2
 Group: Development/System
 #
@@ -139,7 +139,7 @@ rm -rf ${RPM_BUILD_ROOT}
 %pre
 getent group oprofile >/dev/null || groupadd -r -g 16 oprofile
 getent passwd oprofile >/dev/null || \
-useradd -r -g oprofile -d /var/lib/oprofile -M -r -u 16 -s /sbin/nologin \
+useradd -g oprofile -d /var/lib/oprofile -M -r -u 16 -s /sbin/nologin \
     -c "Special user account to be used by OProfile" oprofile
 exit 0
 
@@ -194,6 +194,9 @@ test "$1" != 0 || groupdel oprofile &>/dev/null || :
 /etc/ld.so.conf.d/*
 
 %changelog
+* Tue Jan 10 2012 Will Cohen <wcohen at redhat.com> - 0.9.7-2
+- Remove duplicate -r option in %pre useradd Resolves: rhbz #772841
+
 * Mon Nov 29 2011 Will Cohen <wcohen at redhat.com> - 0.9.7-1
 - Rebase on oprofile-0.9.7.
 


More information about the scm-commits mailing list