[guacd/el6] More conditional fixes

Simone Caronni slaanesh at fedoraproject.org
Wed Sep 5 13:23:06 UTC 2012


commit ca5f265f40b618d327962f48c529ce211cc75d5e
Author: Simone Caronni <negativo17 at gmail.com>
Date:   Wed Sep 5 15:22:28 2012 +0200

    More conditional fixes

 guacd.spec |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/guacd.spec b/guacd.spec
index 9e3a6cd..aafb726 100644
--- a/guacd.spec
+++ b/guacd.spec
@@ -88,7 +88,7 @@ if [ $1 -ge 1 ] ; then
     /bin/systemctl try-restart %{name}.service >/dev/null 2>&1 || :
 fi
 
-%fi
+%endif
 
 %if 0%{?fedora} >= 18 || 0%{?rhel} >= 7
 
@@ -101,7 +101,7 @@ fi
 %postun
 %systemd_postun_with_restart %{name}.service
 
-%fi
+%endif
 
 %if 0%{?rhel} == 6
 
@@ -119,7 +119,7 @@ if [ "$1" -ge "1" ]; then
         /sbin/service %{name} condrestart >/dev/null 2>&1 || :
 fi
 
-%fi
+%endif
 
 %files
 %doc AUTHORS LICENSE README


More information about the scm-commits mailing list