From d39d78f026144b9445700b802f29dbf2b1bfb474 Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Mon, 4 Jan 2010 00:00:16 +0000 Subject: [PATCH] - pkgconfig_requires_private patch --- redland-1.0.10-pkgconfig_requires_private.patch | 13 +++++++++++++ redland.spec | 9 ++++++++- 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 redland-1.0.10-pkgconfig_requires_private.patch diff --git a/redland-1.0.10-pkgconfig_requires_private.patch b/redland-1.0.10-pkgconfig_requires_private.patch new file mode 100644 index 0000000..646f191 --- /dev/null +++ b/redland-1.0.10-pkgconfig_requires_private.patch @@ -0,0 +1,13 @@ +diff -up redland-1.0.10/redland-config.in.libs redland-1.0.10/redland-config.in +diff -up redland-1.0.10/redland.pc.in.libs redland-1.0.10/redland.pc.in +--- redland-1.0.10/redland.pc.in.libs 2009-04-12 20:01:30.000000000 -0500 ++++ redland-1.0.10/redland.pc.in 2010-01-03 17:55:23.791897828 -0600 +@@ -9,7 +9,7 @@ swig=${prefix}/share/redland/Redland.i + + Name: Redland RDF API Library + Description: Redland RDF API and triple store library +-Requires: raptor >= @RAPTOR_MIN_VERSION@, rasqal >= @RASQAL_MIN_VERSION@, rasqal <= @RASQAL_MAX_VERSION@ ++Requires.private: raptor >= @RAPTOR_MIN_VERSION@, rasqal >= @RASQAL_MIN_VERSION@, rasqal <= @RASQAL_MAX_VERSION@ + Version: @VERSION@ + Libs: -L${libdir} -lrdf + Libs.private: @LIBRDF_LDFLAGS@ @LIBRDF_PKGCONFIG_PRIVATE_LIBS@ diff --git a/redland.spec b/redland.spec index e85944e..ff3e5e6 100644 --- a/redland.spec +++ b/redland.spec @@ -1,6 +1,6 @@ Name: redland Version: 1.0.10 -Release: 1%{?dist} +Release: 2%{?dist} Summary: RDF Application Framework Group: System Environment/Libraries @@ -9,6 +9,8 @@ URL: http://librdf.org/ Source0: http://download.librdf.org/source/%{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Patch50: redland-1.0.10-pkgconfig_requires_private.patch + BuildRequires: curl-devel BuildRequires: db4-devel BuildRequires: libiodbc-devel @@ -42,6 +44,8 @@ Header files for development with Redland. %prep %setup -q +%patch50 -p1 -b .pkgconfig_requires_private + # hack to nuke rpaths %if "%{_libdir}" != "/usr/lib" sed -i -e 's|"/lib /usr/lib|"/%{_lib} %{_libdir}|' configure @@ -112,6 +116,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Sun Jan 03 2010 Rex Dieter - 1.0.10-2 +- pkgconfig_requires_private patch + * Sun Jan 03 2010 Rex Dieter - 1.0.10-1 - redland-1.0.10