Hello community,

here is the log from the commit of package corosync for openSUSE:Factory 
checked in at 2014-11-24 11:15:51
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/corosync (Old)
 and      /work/SRC/openSUSE:Factory/.corosync.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "corosync"

Changes:
--------
--- /work/SRC/openSUSE:Factory/corosync/corosync.changes        2014-09-10 
17:02:13.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.corosync.new/corosync.changes   2014-11-24 
11:15:58.000000000 +0100
@@ -1,0 +2,18 @@
+Wed Nov 19 22:24:13 UTC 2014 - dims...@opensuse.org
+
+- Replace systemd BuildRequires with pkgconfig(systemd): we do not
+  require the full installation / dep chain of systemd.
+
+-------------------------------------------------------------------
+Mon Nov 17 04:01:00 UTC 2014 - Led <led...@gmail.com>
+
+- fix bashisms in mem_leak_test.sh script
+- add patches:
+  * corosync-2.3.4-fix-bashisms.patch
+
+-------------------------------------------------------------------
+Mon Nov 17 04:00:00 UTC 2014 - Led <led...@gmail.com>
+
+- fix bashism in preun script
+
+-------------------------------------------------------------------

New:
----
  corosync-2.3.4-fix-bashisms.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ corosync.spec ++++++
--- /var/tmp/diff_new_pack.0TLIgR/_old  2014-11-24 11:16:00.000000000 +0100
+++ /var/tmp/diff_new_pack.0TLIgR/_new  2014-11-24 11:16:00.000000000 +0100
@@ -52,6 +52,7 @@
 Patch1:         corosync-init-lockfile-path-error.patch
 Patch2:         bnc#872651-stop-cluster.patch
 Patch3:         bnc#882449-corosync-conf-example.patch
+Patch4:         corosync-2.3.4-fix-bashisms.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 # openais is indeed gone and should be uninstalled. Yes, we do not
 # provide openais on purpose, the package has been deleted.
@@ -85,7 +86,7 @@
 BuildRequires:  dbus-1-devel
 %endif
 %if %{with_systemd}
-BuildRequires:  systemd
+BuildRequires:  pkgconfig(systemd)
 Requires(post): systemd
 Requires(preun): systemd
 Requires(postun): systemd
@@ -99,6 +100,7 @@
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
+%patch4 -p1
 
 %build
 #%if 0%{?buildtrunk} == 1
@@ -199,7 +201,7 @@
 %service_del_preun corosync.service corosync-notifyd.service
 %else
 if [ $1 -eq 0 ]; then
-       /sbin/service corosync stop &>/dev/null || :
+       /sbin/service corosync stop >/dev/null 2>&1 ||:
        /sbin/chkconfig --del corosync || :
 fi
 %endif

++++++ corosync-2.3.4-fix-bashisms.patch ++++++
diff -Ndur corosync-2.3.4/cts/agents/mem_leak_test.sh 
corosync-2.3.4-fix-bashisms/cts/agents/mem_leak_test.sh
--- corosync-2.3.4/cts/agents/mem_leak_test.sh  2014-08-12 10:27:36.000000000 
+0300
+++ corosync-2.3.4-fix-bashisms/cts/agents/mem_leak_test.sh     2014-11-17 
05:57:38.986640342 +0200
@@ -41,14 +41,14 @@
     find $f | sed "s|\.|_|g" | sed "s|/|.|g" | while read l
     do 
       echo $l.count u64 $COUNT >> $temp_file
-      let COUNT="$COUNT+1"
+      COUNT=$((COUNT + 1))
     done
 
     corosync-cmapctl -p $temp_file
     corosync-cmapctl -D usr
   done
   AFTER=$(get_mem $TYPE)
-  let DIFF="$AFTER - $BEFORE"
+  DIFF=$((AFTER - BEFORE))
   rm -f $temp_file
   #echo $f diff $TYPE $DIFF
   echo $DIFF
@@ -76,11 +76,11 @@
   find /usr/bin | sed "s|\.|_|g" | sed "s|/|.|g" | while read l
   do 
     corosync-cmapctl -s $l u32 $COUNT
-    let COUNT="$COUNT+1"
+    COUNT=$((COUNT + 1))
   done
   corosync-cmapctl -D usr
   AFTER=$(get_mem $TYPE)
-  let DIFF="$AFTER - $BEFORE"
+  DIFF=$((AFTER - BEFORE))
   echo $DIFF
 
   exit 0
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to