[ovirt-guest-agent/el5] Added override flag on groupadd

Vinzenz Feenstra evilissimo at fedoraproject.org
Tue Nov 26 11:13:18 UTC 2013


commit 619943edf27869d11ddb048cc442203513e6742c
Author: Vinzenz Feenstra <vfeenstr at redhat.com>
Date:   Tue Nov 26 12:12:53 2013 +0100

    Added override flag on groupadd
    
    Signed-off-by: Vinzenz Feenstra <vfeenstr at redhat.com>

 ovirt-guest-agent.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/ovirt-guest-agent.spec b/ovirt-guest-agent.spec
index a6ebfad..55cb008 100644
--- a/ovirt-guest-agent.spec
+++ b/ovirt-guest-agent.spec
@@ -1,5 +1,5 @@
 
-%global release_version 5
+%global release_version 6
 
 Name: ovirt-guest-agent
 Version: 1.0.8
@@ -62,7 +62,7 @@ ln -sf /usr/bin/consolehelper %{buildroot}%{_datadir}/ovirt-guest-agent/ovirt-lo
 rm -rf %{buildroot}
 
 %pre
-getent group ovirtagent >/dev/null || groupadd -r -g 175 ovirtagent
+getent group ovirtagent >/dev/null || groupadd -r -g 175 -o ovirtagent
 getent passwd ovirtagent > /dev/null || \
     /usr/sbin/useradd -u 175 -g 175 -o -r ovirtagent \
     -c "oVirt Guest Agent" -d / -s /sbin/nologin
@@ -122,6 +122,9 @@ fi
 
 
 %changelog
+* Tue Nov 26 2013 Vinzenz Feenstra <evilissimo at redhat.com> - 1.0.8-6
+  - Use the override flag for groupadd
+
 * Mon Nov 25 2013 Vinzenz Feenstra <evilissimo at redhat.com> - 1.0.8-5
   - Added python2.4 syntax fix
 


More information about the scm-commits mailing list