rpms/kannel/EL-5 gw-config,1.1,1.2 kannel.spec,1.14,1.15

Matthias Saou thias at fedoraproject.org
Mon Dec 7 22:24:02 UTC 2009


Author: thias

Update of /cvs/extras/rpms/kannel/EL-5
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv4625/EL-5

Modified Files:
	gw-config kannel.spec 
Log Message:
Fix gw-config wrapper to actually have it work (#542605).



Index: gw-config
===================================================================
RCS file: /cvs/extras/rpms/kannel/EL-5/gw-config,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- gw-config	12 Sep 2009 15:26:35 -0000	1.1
+++ gw-config	7 Dec 2009 22:24:02 -0000	1.2
@@ -5,16 +5,16 @@
 
 # Always prefer 64bit over 32bit, hardcode the multilib archs here
 for ARCH in x86_64 ia64 s390; do
-    [ -x /usr/bin/gw-config-${ARCH} ] && exec /usr/bin/gw-config-${ARCH}
+    [ -x /usr/bin/gw-config.${ARCH} ] && exec /usr/bin/gw-config.${ARCH} $*
 done
 
 # No multilib, execute the first one found (there should be only one anyway)
-CONFIGSCRIPT=$(ls -1 /usr/bin/gw-config-* 2>/dev/null | head -n 1)
+CONFIGSCRIPT=$(ls -1 /usr/bin/gw-config.* 2>/dev/null | head -n 1)
 
 if [ -x "${CONFIGSCRIPT}" ]; then
-    exec ${CONFIGSCRIPT}
+    exec ${CONFIGSCRIPT} $*
 else
-    echo "Not a single /usr/bin/gw-config-* script found. Please check why."
+    echo "Not a single /usr/bin/gw-config.* script found. Please check why."
     exit 1
 fi
 


Index: kannel.spec
===================================================================
RCS file: /cvs/extras/rpms/kannel/EL-5/kannel.spec,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -p -r1.14 -r1.15
--- kannel.spec	12 Sep 2009 15:26:35 -0000	1.14
+++ kannel.spec	7 Dec 2009 22:24:02 -0000	1.15
@@ -1,7 +1,7 @@
 Summary: WAP and SMS gateway
 Name: kannel
 Version: 1.4.3
-Release: 3%{?dist}
+Release: 4%{?dist}
 License: BSD
 Group: System Environment/Daemons
 URL: http://www.kannel.org/
@@ -164,6 +164,9 @@ fi
 
 
 %changelog
+* Mon Dec  7 2009 Matthias Saou <http://freshrpms.net/> 1.4.3-4
+- Fix gw-config wrapper to actually have it work (#542605).
+
 * Fri Aug 21 2009 Tomas Mraz <tmraz at redhat.com> - 1.4.3-3
 - rebuilt with new openssl
 




More information about the fedora-extras-commits mailing list