Hello community, here is the log from the commit of package xsp for openSUSE:Factory checked in at 2015-05-11 19:38:50 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/xsp (Old) and /work/SRC/openSUSE:Factory/.xsp.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "xsp" Changes: -------- --- /work/SRC/openSUSE:Factory/xsp/xsp.changes 2015-01-20 12:37:21.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.xsp.new/xsp.changes 2015-05-11 19:49:01.000000000 +0200 @@ -1,0 +2,7 @@ +Sun May 10 00:58:00 UTC 2015 - Led <led...@gmail.com> + +- fix bashism in init script +- add patches: + * xsp-3.0.11-fix-bashisms.patch + +------------------------------------------------------------------- New: ---- xsp-3.0.11-fix-bashisms.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ xsp.spec ++++++ --- /var/tmp/diff_new_pack.iAR20c/_old 2015-05-11 19:49:02.000000000 +0200 +++ /var/tmp/diff_new_pack.iAR20c/_new 2015-05-11 19:49:02.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package xsp # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -25,6 +25,7 @@ Group: Productivity/Networking/Web/Servers Source: https://github.com/mono/xsp/archive/%{version}.tar.gz Source1: xsp.conf +Patch1: %{name}-3.0.11-fix-bashisms.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch BuildRequires: autoconf @@ -49,6 +50,7 @@ %prep %setup -q +%patch1 -p1 %build NOCONFIGURE=1 ./autogen.sh ++++++ xsp-3.0.11-fix-bashisms.patch ++++++ diff -Ndur xsp-3.0.11/packaging/opensuse/xsp2.init xsp-3.0.11-fix-bashisms/packaging/opensuse/xsp2.init --- xsp-3.0.11/packaging/opensuse/xsp2.init 2013-05-14 14:46:56.000000000 +0300 +++ xsp-3.0.11-fix-bashisms/packaging/opensuse/xsp2.init 2015-05-10 03:56:25.303773185 +0300 @@ -195,7 +195,7 @@ ## the return value is set appropriately by startproc. export MONO_OPTIONS - if [ -f "$XSP_PIDFILE" ] && [ "$(readlink /proc/$(cat $XSP_PIDFILE)/exe)" == "$MONO_BIN" ]; then + if [ -f "$XSP_PIDFILE" ] && [ "$(readlink /proc/$(cat $XSP_PIDFILE)/exe)" = "$MONO_BIN" ]; then rc_check 0 else /sbin/startproc -p $XSP_PIDFILE -l /var/log/xsp2.log -u $XSP_USER -g $XSP_GROUP $XSP2_WRAPPER $XSP_OPTIONS --pidfile $XSP_PIDFILE