Hello community,

here is the log from the commit of package couchdb for openSUSE:Factory checked 
in at 2015-02-16 21:14:18
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/couchdb (Old)
 and      /work/SRC/openSUSE:Factory/.couchdb.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "couchdb"

Changes:
--------
--- /work/SRC/openSUSE:Factory/couchdb/couchdb.changes  2014-12-10 
23:44:03.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.couchdb.new/couchdb.changes     2015-02-16 
21:14:19.000000000 +0100
@@ -1,0 +2,7 @@
+Thu Dec 04 18:16:00 UTC 2014 - Led <[email protected]>
+
+- fix bashism in couchdb script
+- add patches:
+  * apache-couchdb-1.6.1-fix-bashisms.patch
+
+-------------------------------------------------------------------

New:
----
  apache-couchdb-1.6.1-fix-bashisms.patch

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

Other differences:
------------------
++++++ couchdb.spec ++++++
--- /var/tmp/diff_new_pack.7vIq53/_old  2015-02-16 21:14:20.000000000 +0100
+++ /var/tmp/diff_new_pack.7vIq53/_new  2015-02-16 21:14:20.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package couchdb
 #
-# 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
@@ -44,6 +44,7 @@
 Patch0:         couchdb-futon-default-view-language.patch
 # PATCH-FIX-UPSTREAM couchdb-glibc-2.20.patch [email protected] -- Fix 
build with glibc 2.20; _BSD_SOURCE is deprecated in favor of _DEFAULT_SOURCE; 
using both for backwards compatibility
 Patch1:         couchdb-glibc-2.20.patch
+Patch2:         apache-couchdb-1.6.1-fix-bashisms.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  autoconf-archive
 BuildRequires:  automake
@@ -86,6 +87,7 @@
 %setup -q -n apache-couchdb-%{version}
 %patch0
 %patch1 -p1
+%patch2 -p1
 
 %build
 autoreconf -fi

++++++ apache-couchdb-1.6.1-fix-bashisms.patch ++++++
diff -Ndur apache-couchdb-1.6.1/bin/couchdb.tpl.in 
apache-couchdb-1.6.1-fix-bashisms/bin/couchdb.tpl.in
--- apache-couchdb-1.6.1/bin/couchdb.tpl.in     2014-08-22 02:15:33.000000000 
+0300
+++ apache-couchdb-1.6.1-fix-bashisms/bin/couchdb.tpl.in        2014-11-16 
22:22:11.886489036 +0200
@@ -319,7 +319,7 @@
                         echo "Apache CouchDB failed to shutdown."
                         return $SCRIPT_ERROR
                     else
-                        count=$[count+1]
+                        count=$((count + 1))
                         sleep 1
                     fi
                 done
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to