diff --git a/qrencode-fix-LIBPTHREAD-macro.patch b/qrencode-fix-LIBPTHREAD-macro.patch new file mode 100644 index 0000000..9062949 --- /dev/null +++ b/qrencode-fix-LIBPTHREAD-macro.patch @@ -0,0 +1,9 @@ +--- ./libqrencode.pc.in.orig 2012-02-20 15:36:29.983533958 -0800 ++++ ./libqrencode.pc.in.orig 2012-02-20 15:56:41.252501662 -0800 +@@ -6,5 +6,5 @@ includedir=@includedir@ + Name: libqrencode + Description: A QR Code encoding library + Version: @VERSION@ +-Libs: -L${libdir} -lqrencode @LIBPTHREAD@ ++Libs: -L${libdir} -lqrencode -pthread + Cflags: -I${includedir} diff --git a/qrencode.spec b/qrencode.spec index 2b44474..7f28cc8 100644 --- a/qrencode.spec +++ b/qrencode.spec @@ -1,6 +1,6 @@ Name: qrencode Version: 3.2.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Generate QR 2D barcodes Group: Applications/Engineering @@ -61,6 +61,12 @@ sh test_all.sh %changelog +* Thu Feb 23 2012 Peter Gordon - 3.2.0-2 +- Add patch to fix improper LIBPTHREAD macro in the pkgconfig file: + + fix-LIBPTHREAD-macro.patch +- Resolves: #795582 (qrencode-devel: Malformed pkgconfig file causes build to + fail ("@LIBPTHREAD@: No such file or directory")) + * Sun Jan 15 2012 Matthieu Saulnier - 3.2.0-1 - update to 3.2.0 - remove BuildRoot tag in spec file