[libcmis] Resolves: rhbz#1000819 pkgconfig file for libcmis-c is broken

David Tardon dtardon at fedoraproject.org
Fri Aug 30 18:29:25 UTC 2013


commit 68b750cb8750e6427170ec30e2af6e74e3cc805f
Author: David Tardon <dtardon at redhat.com>
Date:   Fri Aug 30 20:24:21 2013 +0200

    Resolves: rhbz#1000819 pkgconfig file for libcmis-c is broken

 ...is-c.pc-to-point-to-versioned-libcmis-pc-.patch |   25 ++++++++++++++++++++
 libcmis.spec                                       |    8 +++++-
 2 files changed, 32 insertions(+), 1 deletions(-)
---
diff --git a/0001-fixed-libcmis-c.pc-to-point-to-versioned-libcmis-pc-.patch b/0001-fixed-libcmis-c.pc-to-point-to-versioned-libcmis-pc-.patch
new file mode 100644
index 0000000..81b7b83
--- /dev/null
+++ b/0001-fixed-libcmis-c.pc-to-point-to-versioned-libcmis-pc-.patch
@@ -0,0 +1,25 @@
+From 1785bd837ad159f18588f470508627f127d42237 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?C=C3=A9dric=20Bosdonnat?= <cbosdo at users.sourceforge.net>
+Date: Mon, 8 Apr 2013 11:25:55 +0200
+Subject: [PATCH] fixed libcmis-c.pc to point to versioned libcmis pc file
+
+---
+ libcmis-c.pc.in | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/libcmis-c.pc.in b/libcmis-c.pc.in
+index 82ac1b1..48268a5 100644
+--- a/libcmis-c.pc.in
++++ b/libcmis-c.pc.in
+@@ -6,7 +6,7 @@ includedir=@includedir@
+ Name: libcmis
+ Description: CMIS protocol C client library
+ Version: @VERSION@
+-Requires: libcmis libcurl libxml-2.0
++Requires: libcmis- at LIBCMIS_API_VERSION@ libcurl libxml-2.0
+ Libs: -L${libdir} -lcmis-c- at LIBCMIS_API_VERSION@
+ Cflags: -I${includedir}/libcmis-c- at LIBCMIS_API_VERSION@
+ 
+-- 
+1.7.11.7
+
diff --git a/libcmis.spec b/libcmis.spec
index f686bf9..2f9b77f 100644
--- a/libcmis.spec
+++ b/libcmis.spec
@@ -2,7 +2,7 @@
 
 Name: libcmis
 Version: 0.3.1
-Release: 7%{?dist}
+Release: 8%{?dist}
 Summary: A C++ client library for the CMIS interface
 
 Group: System Environment/Libraries
@@ -19,6 +19,8 @@ Patch0: 0001-libcmis-c-handle-possible-bad-allocations.patch
 Patch1: 0001-rhbz-918079-always-return-40-hexa-digits.patch
 Patch2: 0002-rhbz-918080-restrict-the-set-of-protocols-for-curl.patch
 Patch3: 0003-Init-protocols-should-be-done-right-after-resetting-.patch
+# rhbz#1000819
+Patch4: 0001-fixed-libcmis-c.pc-to-point-to-versioned-libcmis-pc-.patch
 
 %description
 LibCMIS is a C++ client library for the CMIS interface. This allows C++
@@ -49,6 +51,7 @@ command line.
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
+%patch4 -p1
 
 
 %build
@@ -91,6 +94,9 @@ rm -f %{buildroot}/%{_libdir}/*.la
 
 
 %changelog
+* Fri Aug 30 2013 David Tardon <dtardon at redhat.com> - 0.3.1-8
+- Resolves: rhbz#1000819 pkgconfig file for libcmis-c is broken
+
 * Sat Aug 03 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.3.1-7
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
 


More information about the scm-commits mailing list