[packages/libqalculate] add pkgconfig_private.patch from fedora
glen
glen at pld-linux.org
Sat Oct 24 18:58:58 CEST 2015
commit 0cdd8cdd699f13038bccd05388093d234cd57189
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Sat Oct 24 19:58:42 2015 +0300
add pkgconfig_private.patch from fedora
libqalculate.spec | 2 ++
pkgconfig_private.patch | 12 ++++++++++++
2 files changed, 14 insertions(+)
---
diff --git a/libqalculate.spec b/libqalculate.spec
index 95223de..457f763 100644
--- a/libqalculate.spec
+++ b/libqalculate.spec
@@ -7,6 +7,7 @@ License: GPL
Group: Libraries
Source0: http://downloads.sourceforge.net/qalculate/%{name}-%{version}.tar.gz
# Source0-md5: a1507ab862f4ad9852788619aada35cd
+Patch0: pkgconfig_private.patch
URL: http://qalculate.sourceforge.net/
BuildRequires: autoconf
BuildRequires: automake
@@ -57,6 +58,7 @@ Statyczna biblioteka qalculate.
%prep
%setup -q
+%patch0 -p1
%build
%{__libtoolize}
diff --git a/pkgconfig_private.patch b/pkgconfig_private.patch
new file mode 100644
index 0000000..3f9a893
--- /dev/null
+++ b/pkgconfig_private.patch
@@ -0,0 +1,12 @@
+diff -up libqalculate-0.9.7/libqalculate.pc.in.pkgconfig_private libqalculate-0.9.7/libqalculate.pc.in
+--- libqalculate-0.9.7/libqalculate.pc.in.pkgconfig_private 2009-12-02 14:24:25.000000000 -0600
++++ libqalculate-0.9.7/libqalculate.pc.in 2010-02-13 17:22:21.671796422 -0600
+@@ -5,7 +5,7 @@ includedir=@includedir@
+
+ Name: libqalculate
+ Description: libqalculate
+-Requires: glib-2.0 libxml-2.0
++Requires.private: glib-2.0 libxml-2.0
+ Version: @VERSION@
+ Libs: -L${libdir} @CLN_LIBS@ -lpthread -lqalculate
+ Cflags: -I${includedir} @CLN_CPPFLAGS@
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/libqalculate.git/commitdiff/0cdd8cdd699f13038bccd05388093d234cd57189
More information about the pld-cvs-commit
mailing list