From e88911e353b7373cbc02ef3c4b34969616c568ed Mon Sep 17 00:00:00 2001 From: Christopher Aillon Date: Mon, 13 Jun 2005 20:46:41 +0000 Subject: [PATCH] - The .pc file should be installed in %{_datadir} instead of %{_libdir} since this is a noarch package. 64bit platforms will otherwise look in the 64bit version of the %{_libdir} and not find the .pc file and cause them to not find iso-codes --- iso-codes.spec | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/iso-codes.spec b/iso-codes.spec index dbbe8ac..3f6c664 100644 --- a/iso-codes.spec +++ b/iso-codes.spec @@ -2,7 +2,7 @@ Name: iso-codes Summary: ISO code lists and translations Version: 0.46 -Release: 1 +Release: 2 License: LGPL Group: System Environment/Base URL: http://alioth.debian.org/projects/pkg-isocodes/ @@ -35,6 +35,8 @@ make %install %{__rm} -rf $RPM_BUILD_ROOT %makeinstall +%{__mv} $RPM_BUILD_ROOT/%{_libdir}/pkgconfig \ + $RPM_BUILD_ROOT/%{_datadir} %clean %{__rm} -rf $RPM_BUILD_ROOT @@ -50,8 +52,14 @@ make %files devel %defattr(-,root,root,-) -%{_libdir}/pkgconfig/iso-codes.pc +%{_datadir}/pkgconfig/iso-codes.pc %changelog +* Mon Jun 10 2005 Christopher Aillon 0.46-2 +- The .pc file should be installed in %%{_datadir} instead of %%{_libdir} + since this is a noarch package. 64bit platforms will otherwise look in + the 64bit version of the %%{_libdir} and not find the .pc file and + cause them to not find iso-codes + * Fri Jun 10 2005 Christopher Aillon 0.46-1 - Initial RPM