Hello community, here is the log from the commit of package zxing-cpp for openSUSE:Factory checked in at 2020-09-14 12:15:53 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/zxing-cpp (Old) and /work/SRC/openSUSE:Factory/.zxing-cpp.new.4249 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "zxing-cpp" Mon Sep 14 12:15:53 2020 rev:5 rq:833757 version:1.1.0 Changes: -------- --- /work/SRC/openSUSE:Factory/zxing-cpp/zxing-cpp.changes 2020-08-21 19:00:46.640235010 +0200 +++ /work/SRC/openSUSE:Factory/.zxing-cpp.new.4249/zxing-cpp.changes 2020-09-14 12:18:17.240544848 +0200 @@ -1,0 +2,7 @@ +Fri Sep 4 07:16:43 UTC 2020 - Antonio Larrosa <[email protected]> + +- Add fix for pkg-config file so the version and library are set properly + in the resulting .pc file: + * fix-pkg-config-file.patch + +------------------------------------------------------------------- New: ---- fix-pkg-config-file.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ zxing-cpp.spec ++++++ --- /var/tmp/diff_new_pack.Ix5ald/_old 2020-09-14 12:18:23.320551060 +0200 +++ /var/tmp/diff_new_pack.Ix5ald/_new 2020-09-14 12:18:23.324551063 +0200 @@ -25,6 +25,7 @@ Group: Development/Languages/C and C++ URL: https://github.com/nu-book/zxing-cpp/ Source0: https://github.com/nu-book/zxing-cpp/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz +Patch0: fix-pkg-config-file.patch BuildRequires: cmake >= 3.10 BuildRequires: gcc-c++ BuildRequires: pkgconfig @@ -35,8 +36,8 @@ %package -n libZXing%{sover} Summary: Library for processing 1D and 2D barcodes -Group: System/Libraries # called libZXing in the 1.1.0 update +Group: System/Libraries Provides: libZXingCore%{sover} = %{version} Obsoletes: libZXingCore%{sover} < %{version} ++++++ fix-pkg-config-file.patch ++++++ Index: zxing-cpp-1.1.0/zxing.pc.in =================================================================== --- zxing-cpp-1.1.0.orig/zxing.pc.in +++ zxing-cpp-1.1.0/zxing.pc.in @@ -5,6 +5,6 @@ includedir=${prefix}/@CMAKE_INSTALL_INCL Name: ZXing Description: ZXing library set -Version: @VERSION@ -Libs: -L${libdir} -l@TARGET_ZXING@ +Version: @PROJECT_VERSION@ +Libs: -L${libdir} -lZXing Cflags: -I${includedir} -I${includedir}/ZXing
