Hello community,

here is the log from the commit of package libtunepimp for openSUSE:Factory 
checked in at 2016-01-17 09:23:17
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libtunepimp (Old)
 and      /work/SRC/openSUSE:Factory/.libtunepimp.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libtunepimp"

Changes:
--------
--- /work/SRC/openSUSE:Factory/libtunepimp/libtunepimp.changes  2015-06-11 
08:22:37.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.libtunepimp.new/libtunepimp.changes     
2016-01-17 09:23:18.000000000 +0100
@@ -1,0 +2,9 @@
+Thu Jan 14 10:43:04 UTC 2016 - [email protected]
+
+- add libtunepimp-configure-taglib-floatpoint-version-comparsion.patch
+  * TW's taglib-devel (libtag-devel) is 1.10, but libtunepimp
+    used "expr" to compare it w/ 1.4, whose result is not correct.
+  * use "bc -l" command to correctly compare those floating point
+    numbers.
+
+-------------------------------------------------------------------

New:
----
  libtunepimp-configure-taglib-floatpoint-version-comparsion.patch

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

Other differences:
------------------
++++++ libtunepimp.spec ++++++
--- /var/tmp/diff_new_pack.eahw3S/_old  2016-01-17 09:23:19.000000000 +0100
+++ /var/tmp/diff_new_pack.eahw3S/_new  2016-01-17 09:23:19.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package libtunepimp
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 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
@@ -29,11 +29,14 @@
 Source1:        baselibs.conf
 Patch0:         %{name}-fixes.patch
 Patch1:         %{name}-ltdl.patch
+#PATCH-FIX-UPSTREAM [email protected] - compare floating-point numbers 
correctly in configure script
+Patch2:         
libtunepimp-configure-taglib-floatpoint-version-comparsion.patch
 # Patched code is built by default.
 # Use rpmbuild -D 'BUILD_ORIG 1' to build original code.
 # Use rpmbuild -D 'BUILD_ORIG 1' -D 'BUILD_ORIG_ADDON 1' to build patched 
build plus original as addon.
 BuildRequires:  autoconf
 BuildRequires:  automake
+BuildRequires:  bc
 BuildRequires:  curl-devel
 BuildRequires:  flac-devel
 BuildRequires:  gcc-c++
@@ -111,6 +114,7 @@
 %setup -q
 %patch0
 %patch1
+%patch2 -p1
 
 %build
 autoreconf -fiv

++++++ libtunepimp-configure-taglib-floatpoint-version-comparsion.patch ++++++
Index: libtunepimp-0.5.3/acinclude.m4
===================================================================
--- libtunepimp-0.5.3.orig/acinclude.m4
+++ libtunepimp-0.5.3/acinclude.m4
@@ -24,7 +24,7 @@ AC_DEFUN([AC_CHECK_TAGLIB], [
   else
     TAGLIB_VERSION=`$TAGLIB_CONFIG --version`
     AC_MSG_CHECKING(for taglib >= $1)
-        VERSION_CHECK=`expr $TAGLIB_VERSION \>\= $1`
+        VERSION_CHECK=$(if @<:@ $(echo "$TAGLIB_VERSION >= $1" | /usr/bin/bc 
-l) @:>@ ; then echo 1 ; else echo 0 ; fi)
         if test "$VERSION_CHECK" = "1" ; then
             AC_MSG_RESULT(yes)
             succeeded=yes

Reply via email to