Hello community,

here is the log from the commit of package qrencode for openSUSE:Factory 
checked in at 2018-01-26 13:57:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/qrencode (Old)
 and      /work/SRC/openSUSE:Factory/.qrencode.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "qrencode"

Fri Jan 26 13:57:11 2018 rev:21 rq:568887 version:4.0.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/qrencode/qrencode.changes        2017-07-25 
11:39:10.806645758 +0200
+++ /work/SRC/openSUSE:Factory/.qrencode.new/qrencode.changes   2018-01-26 
13:57:13.395636527 +0100
@@ -1,0 +2,11 @@
+Wed Jan 24 10:57:58 UTC 2018 - [email protected]
+
+- Update to 4.0.0
+  * EPS output now supports foreground and background color
+  * XPM and PNG32 support added
+  * CMake support added
+  * Various bugs and performance fixes
+- Add qrencode-fix-installation.patch. Fixes installation for x86_64
+  targets.
+
+-------------------------------------------------------------------

Old:
----
  qrencode-3.4.4.tar.bz2

New:
----
  qrencode-4.0.0.tar.bz2
  qrencode-fix-installation.patch

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

Other differences:
------------------
++++++ qrencode.spec ++++++
--- /var/tmp/diff_new_pack.kJSMes/_old  2018-01-26 13:57:14.011607767 +0100
+++ /var/tmp/diff_new_pack.kJSMes/_new  2018-01-26 13:57:14.015607580 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package qrencode
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 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
@@ -16,9 +16,9 @@
 #
 
 
-%define so_ver 3
+%define so_ver 4
 Name:           qrencode
-Version:        3.4.4
+Version:        4.0.0
 Release:        0
 Summary:        C library for encoding data in a QR Code symbol
 License:        LGPL-2.1+
@@ -26,6 +26,9 @@
 Url:            https://github.com/fukuchi/libqrencode
 Source0:        http://fukuchi.org/works/qrencode/%{name}-%{version}.tar.bz2
 Source1:        baselibs.conf
+# PATCH-FIX-UPSTREAM -- qrencode-fix_installation.patch
+Patch0:         qrencode-fix-installation.patch
+BuildRequires:  cmake >= 3.1.0
 BuildRequires:  pkgconfig
 BuildRequires:  pkgconfig(libpng)
 
@@ -60,15 +63,14 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
-%configure \
-  --with-tools
-make %{?_smp_mflags}
+%cmake -DBUILD_SHARED_LIBS=TRUE
+%make_jobs
 
 %install
-%make_install
-find %{buildroot} -type f -name "*.la" -delete -print
+%cmake_install
 
 %post -n libqrencode%{so_ver} -p /sbin/ldconfig
 %postun -n libqrencode%{so_ver} -p /sbin/ldconfig

++++++ baselibs.conf ++++++
--- /var/tmp/diff_new_pack.kJSMes/_old  2018-01-26 13:57:14.039606460 +0100
+++ /var/tmp/diff_new_pack.kJSMes/_new  2018-01-26 13:57:14.039606460 +0100
@@ -1 +1 @@
-libqrencode3
\ No newline at end of file
+libqrencode4

++++++ qrencode-3.4.4.tar.bz2 -> qrencode-4.0.0.tar.bz2 ++++++
++++ 42134 lines of diff (skipped)

++++++ qrencode-fix-installation.patch ++++++
diff --git a/CMakeLists.txt b/CMakeLists.txt
index f08b2cb..b87d2ac 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -110,7 +110,7 @@ endif()
 
 set(prefix "${CMAKE_INSTALL_PREFIX}")
 set(exec_prefix "${CMAKE_INSTALL_PREFIX}/bin")
-set(libdir "${CMAKE_INSTALL_PREFIX}/lib")
+set(libdir "${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX}")
 set(includedir "${CMAKE_INSTALL_PREFIX}/include")
 set(VERSION 
"${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_PATCH}")
 
@@ -118,9 +118,9 @@ configure_file(qrencode.1.in qrencode.1 @ONLY)
 configure_file(libqrencode.pc.in libqrencode.pc @ONLY)
 
 install(FILES ${CMAKE_CURRENT_BINARY_DIR}/qrencode.1 DESTINATION 
share/man/man1)
-install(FILES ${CMAKE_CURRENT_BINARY_DIR}/libqrencode.pc DESTINATION 
lib/pkgconfig)
+install(FILES ${CMAKE_CURRENT_BINARY_DIR}/libqrencode.pc DESTINATION 
lib${LIB_SUFFIX}/pkgconfig)
 install(FILES qrencode.h DESTINATION include)
-install(TARGETS qrencode DESTINATION lib)
+install(TARGETS qrencode DESTINATION lib${LIB_SUFFIX})
 
 ## Build utility tools
 if(WITH_TOOLS AND TARGET PNG::PNG)

Reply via email to