- 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
This commit is contained in:
parent
dc8a4d0fb0
commit
e88911e353
@ -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 <caillon@redhat.com> 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 <caillon@redhat.com> 0.46-1
|
||||
- Initial RPM
|
||||
|
Loading…
Reference in New Issue
Block a user