- fix libidn.pc for correct libdir (#439549)

epel9
jorton 17 years ago
parent 0c0435356d
commit 06a36ab9f1

@ -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 <jorton@redhat.com> 0.6.14-7
- fix libidn.pc for correct libdir (#439549)
* Fri Mar 7 2008 Joe Orton <jorton@redhat.com> 0.6.14-6
- drop libidn.a
- move shared library to /lib{,64} (#283651)

Loading…
Cancel
Save