[openstack-nova/el6: 1/2] suppress erroneous output on package install (#785115)

Pádraig Brady pbrady at fedoraproject.org
Fri Jan 27 11:49:17 UTC 2012


commit 42577287687fcdd5a94359c5d9ce64090b5f4a1d
Author: Pádraig Brady <P at draigBrady.com>
Date:   Fri Jan 27 11:39:39 2012 +0000

    suppress erroneous output on package install (#785115)
    
    Conflicts:
    
    	openstack-nova.spec

 openstack-nova.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/openstack-nova.spec b/openstack-nova.spec
index 4958876..653f562 100644
--- a/openstack-nova.spec
+++ b/openstack-nova.spec
@@ -2,7 +2,7 @@
 
 Name:             openstack-nova
 Version:          2011.3.1
-Release:          2%{?dist}
+Release:          3%{?dist}
 Summary:          OpenStack Compute (nova)
 
 Group:            Applications/System
@@ -284,7 +284,7 @@ if ! getent passwd nova >/dev/null; then
   useradd -u 162 -r -g nova -G nova,nobody,qemu -d %{_sharedstatedir}/nova -s /sbin/nologin -c "OpenStack Nova Daemons" nova
 fi
 # Add nova to the fuse group (if present) to support guestmount
-if getent group fuse; then
+if getent group fuse >/dev/null; then
   usermod -a -G fuse nova
 fi
 exit 0
@@ -368,6 +368,9 @@ fi
 %endif
 
 %changelog
+* Fri Jan 27 2012 Pádraig Brady <P at draigBrady.com> - 2011.3.1-3
+- Suppress erroneous output to stdout on package install (#785115)
+
 * Mon Jan 23 2012 Pádraig Brady <P at draigBrady.com> - 2011.3.1-2
 - Fix a REST API v1.0 bug causing a regression with deltacloud
 


More information about the scm-commits mailing list