From 06a36ab9f1a91d5eb351d8255cce11b238e55e4c Mon Sep 17 00:00:00 2001 From: jorton Date: Mon, 31 Mar 2008 10:16:57 +0000 Subject: [PATCH] - fix libidn.pc for correct libdir (#439549) --- libidn.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/libidn.spec b/libidn.spec index a6cc5b0..0a3b543 100644 --- a/libidn.spec +++ b/libidn.spec @@ -1,7 +1,7 @@ Summary: Internationalized Domain Name support library Name: libidn Version: 0.6.14 -Release: 6 +Release: 7 URL: http://www.gnu.org/software/libidn/ License: LGPLv2+ Source0: http://josefsson.org/libidn/releases/libidn-%{version}.tar.gz @@ -70,6 +70,10 @@ mv $RPM_BUILD_ROOT/%{_lib}/libidn.so $RPM_BUILD_ROOT%{_libdir} lib=`echo $RPM_BUILD_ROOT/%{_lib}/libidn.so.*.*` ln -sf ../../%{_lib}/`basename ${lib}` $RPM_BUILD_ROOT%{_libdir}/libidn.so +# Fix the .pc file to reference the directory which contains the .so +sed -i 's,^libdir=.*$,libdir=%{_libdir},' \ + $RPM_BUILD_ROOT%{_libdir}/pkgconfig/libidn.pc + %find_lang %{name} %post @@ -104,6 +108,9 @@ rm -rf %{buildroot} %{_mandir}/man3/* %changelog +* Mon Mar 31 2008 Joe Orton 0.6.14-7 +- fix libidn.pc for correct libdir (#439549) + * Fri Mar 7 2008 Joe Orton 0.6.14-6 - drop libidn.a - move shared library to /lib{,64} (#283651)