From 67fc142034c62ac9bba102dd025917ca4f47e94b Mon Sep 17 00:00:00 2001 From: Hans de Goede Date: Thu, 11 Aug 2011 16:56:34 +0200 Subject: [PATCH] Report version in pkg-config file as 1.0.9 --- libusb1.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/libusb1.spec b/libusb1.spec index 870944a..0439f90 100644 --- a/libusb1.spec +++ b/libusb1.spec @@ -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 - 1.0.9-0.2.git212ca37c +- Report version in pkg-config file as 1.0.9 + * Thu Jul 14 2011 Hans de Goede - 1.0.9-0.1.git212ca37c - Update to a git snapshot which should be pretty close to the final 1.0.9 - Many bugfixes