[qpid-cpp/f17] Added space to fix conditional.

Darryl L. Pierce mcpierce at fedoraproject.org
Wed Oct 10 11:16:19 UTC 2012


commit b4b3f9773b9498bf020ae48b8e00c6a3790cdd0c
Author: Darryl L. Pierce <dpierce at redhat.com>
Date:   Wed Oct 10 07:15:02 2012 -0400

    Added space to fix conditional.
    
    - Resolves: BZ#864792

 qpid-cpp.spec |   14 +++++++++-----
 1 files changed, 9 insertions(+), 5 deletions(-)
---
diff --git a/qpid-cpp.spec b/qpid-cpp.spec
index 9006187..a5275f7 100644
--- a/qpid-cpp.spec
+++ b/qpid-cpp.spec
@@ -30,7 +30,7 @@
 
 Name:           qpid-cpp
 Version:        0.18
-Release:        3%{?dist}
+Release:        3.1%{?dist}
 Summary:        Libraries for Qpid C++ client applications
 License:        ASL 2.0
 URL:            http://qpid.apache.org
@@ -223,20 +223,20 @@ getent passwd qpidd >/dev/null || \
 exit 0
 
 %post -n qpid-cpp-server
-if [$1 -eq 1] ; then
+if [ $1 -eq 1 ]; then
     # Initial installation
     /sbin/systemctl --no-reload enable qpidd.service >/dev/null 2>&1 || :
 fi
 
 %preun -n qpid-cpp-server
-if [ $1 -eq 0 ] ; then
+if [ $1 -eq 0 ]; then
    # Package removal, not upgrade
    /bin/systemctl --no-reload disable qpidd.service > /dev/null 2>&1 || :
    /bin/systemctl stop qpidd.service > /dev/null 2>&1 || :
 fi
 
 %postun -n qpid-cpp-server
-if [ $1 -ge 1 ] ; then
+if [ $1 -ge 1 ]; then
    # Package upgrade, not uninstall
    /bin/systemctl stop qpidd.service > /dev/null 2>&1 || :
    /bin/systemctl start qpidd.service > /dev/null 2>&1 || :
@@ -270,7 +270,7 @@ if [ $1 = 0 ]; then
 fi
 
 %postun -n qpid-cpp-server-ha
-if [$1 -ge 1 ]; then
+if [ $1 -ge 1 ]; then
   /sbin/service qpidd-primary condrestart >/dev/null 2>&1 || :
 fi
 /sbin/ldconfig
@@ -760,6 +760,10 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Wed Oct 10 2012 Darryl L. Pierce <dpierce at redhat.com> - 0.18-3.1
+- Added space to fix conditional.
+- Resolves: BZ#864792
+
 * Wed Sep 26 2012 Darryl L. Pierce <dpierce at redhat.com> - 0.18-3
 - Removed the perl-qpid subpackage.
 


More information about the scm-commits mailing list