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

This commit is contained in:
David Tardon 2013-08-30 20:24:21 +02:00
parent 24b5216d52
commit 68b750cb87
2 changed files with 32 additions and 1 deletions

View File

@ -0,0 +1,25 @@
From 1785bd837ad159f18588f470508627f127d42237 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?C=C3=A9dric=20Bosdonnat?= <cbosdo@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-@LIBCMIS_API_VERSION@ libcurl libxml-2.0
Libs: -L${libdir} -lcmis-c-@LIBCMIS_API_VERSION@
Cflags: -I${includedir}/libcmis-c-@LIBCMIS_API_VERSION@
--
1.7.11.7

View File

@ -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@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@lists.fedoraproject.org> - 0.3.1-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild