Report version in pkg-config file as 1.0.9
This commit is contained in:
parent
b803583310
commit
67fc142034
@ -1,7 +1,7 @@
|
||||
Summary: A library which allows userspace access to USB devices
|
||||
Name: libusb1
|
||||
Version: 1.0.9
|
||||
Release: 0.1.git212ca37c%{?dist}
|
||||
Release: 0.2.git212ca37c%{?dist}
|
||||
# This is a git snapshot of what will hopefully soon become 1.0.9, but
|
||||
# we need this now, to get things in place for:
|
||||
# http://fedoraproject.org/wiki/Features/UsbNetworkRedirection
|
||||
@ -66,6 +66,10 @@ popd
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
rm -f $RPM_BUILD_ROOT/%{_lib}/*.la
|
||||
|
||||
# Our snapshot reports itself as 1.0.8, change the pkg-config file version to
|
||||
# 1.0.9 so that configure checks by apps who need the new 1.0.9 succeed
|
||||
sed -i 's/1\.0\.8/1.0.9/' %{buildroot}/%{_lib}/pkgconfig/libusb-1.0.pc
|
||||
|
||||
mkdir -p %{buildroot}%{_libdir}/pkgconfig
|
||||
mv %{buildroot}/%{_lib}/pkgconfig/* %{buildroot}%{_libdir}/pkgconfig/
|
||||
|
||||
@ -93,6 +97,9 @@ mv %{buildroot}/%{_lib}/pkgconfig/* %{buildroot}%{_libdir}/pkgconfig/
|
||||
/%{_lib}/*.a
|
||||
|
||||
%changelog
|
||||
* Thu Aug 11 2011 Hans de Goede <hdegoede@redhat.com> - 1.0.9-0.2.git212ca37c
|
||||
- Report version in pkg-config file as 1.0.9
|
||||
|
||||
* Thu Jul 14 2011 Hans de Goede <hdegoede@redhat.com> - 1.0.9-0.1.git212ca37c
|
||||
- Update to a git snapshot which should be pretty close to the final 1.0.9
|
||||
- Many bugfixes
|
||||
|
Loading…
Reference in New Issue
Block a user