fix previous change: leave libusb-1.0.pc in /usr/lib/pkgconfig
This commit is contained in:
parent
0042668b1b
commit
118d0634ab
10
libusb1.spec
10
libusb1.spec
@ -1,7 +1,7 @@
|
|||||||
Summary: A library which allows userspace access to USB devices
|
Summary: A library which allows userspace access to USB devices
|
||||||
Name: libusb1
|
Name: libusb1
|
||||||
Version: 1.0.8
|
Version: 1.0.8
|
||||||
Release: 5%{?dist}
|
Release: 6%{?dist}
|
||||||
Source0: http://downloads.sourceforge.net/libusb/libusb-%{version}.tar.bz2
|
Source0: http://downloads.sourceforge.net/libusb/libusb-%{version}.tar.bz2
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
@ -60,6 +60,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
make install DESTDIR=$RPM_BUILD_ROOT
|
make install DESTDIR=$RPM_BUILD_ROOT
|
||||||
rm -f $RPM_BUILD_ROOT/%{_lib}/*.la
|
rm -f $RPM_BUILD_ROOT/%{_lib}/*.la
|
||||||
|
|
||||||
|
mkdir -p %{buildroot}%{_libdir}/pkgconfig
|
||||||
|
mv %{buildroot}/%{_lib}/pkgconfig/* %{buildroot}%{_libdir}/pkgconfig/
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
@ -74,9 +77,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
/%{_lib}/pkgconfig/libusb-1.0.pc
|
|
||||||
%{_includedir}/*
|
%{_includedir}/*
|
||||||
/%{_lib}/*.so
|
/%{_lib}/*.so
|
||||||
|
%{_libdir}/pkgconfig/libusb-1.0.pc
|
||||||
|
|
||||||
%files devel-doc
|
%files devel-doc
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
@ -87,6 +90,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
/%{_lib}/*.a
|
/%{_lib}/*.a
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Jan 26 2011 Jan Vcelak <jvcelak@redhat.com> 1.0.8-6
|
||||||
|
- package config file has to be in /usr/lib/pkgconfig
|
||||||
|
|
||||||
* Tue Jan 25 2011 Jan Vcelak <jvcelak@redhat.com> 1.0.8-5
|
* Tue Jan 25 2011 Jan Vcelak <jvcelak@redhat.com> 1.0.8-5
|
||||||
- move libraries from /usr/lib to /lib (#519716)
|
- move libraries from /usr/lib to /lib (#519716)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user