- pkgconfig_requires_private patch

f41
Rex Dieter 15 years ago
parent f421327d63
commit d39d78f026

@ -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@

@ -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 <rdieter@fedoraproject.org> - 1.0.10-2
- pkgconfig_requires_private patch
* Sun Jan 03 2010 Rex Dieter <rdieter@fedoraproject.org> - 1.0.10-1
- redland-1.0.10

Loading…
Cancel
Save