[libusb1] Update to a git snapshot which should be pretty close to the final 1.0.9 Many bugfixes Needed for: h

Hans de Goede jwrdegoede at fedoraproject.org
Thu Jul 14 14:54:50 UTC 2011


commit b8035833106c987656c2c9a64ca4686654a8b4d7
Author: Hans de Goede <hdegoede at redhat.com>
Date:   Thu Jul 14 16:56:00 2011 +0200

    Update to a git snapshot which should be pretty close to the final 1.0.9
    Many bugfixes
    Needed for: http://fedoraproject.org/wiki/Features/UsbNetworkRedirection

 .gitignore                             |    1 +
 libusb1-error-access-log-message.patch |   34 --------------------------------
 libusb1.spec                           |   32 ++++++++++++++++++-----------
 sources                                |    2 +-
 4 files changed, 22 insertions(+), 47 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index d1d6e39..8840147 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 libusb-1.0.8.tar.bz2
+/libusb-1.0.9-0.1.tar.bz2
diff --git a/libusb1.spec b/libusb1.spec
index 603bbc7..870944a 100644
--- a/libusb1.spec
+++ b/libusb1.spec
@@ -1,16 +1,24 @@
 Summary: A library which allows userspace access to USB devices
 Name: libusb1
-Version: 1.0.8
-Release: 7%{?dist}
-Source0: http://downloads.sourceforge.net/libusb/libusb-%{version}.tar.bz2
+Version: 1.0.9
+Release: 0.1.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
+# To regenerate do:
+# git clone git://people.freedesktop.org/~jwrdegoede/usbredir
+# cd usbredir
+# git checkout fedora-1.0.9-0.1
+# ./autogen.sh
+# make dist
+# mv libusb-1.0.8.tar.bz2 libusb-1.0.9-0.1.tar.bz2
+Source0: libusb-1.0.9-0.1.tar.bz2
+#Source0: http://downloads.sourceforge.net/libusb/libusb-%{version}.tar.bz2
 License: LGPLv2+
 Group: System Environment/Libraries
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 URL: http://libusb.wiki.sourceforge.net/Libusb1.0
 BuildRequires: doxygen
 
-Patch0: libusb1-error-access-log-message.patch
-
 %description
 This package provides a way for applications to access USB devices. Note that
 this library is not compatible with the original libusb-0.1 series.
@@ -45,8 +53,7 @@ Requires: %{name}-devel = %{version}-%{release}
 This package contains static libraries to develop applications that use libusb1.
 
 %prep
-%setup -q -n libusb-%{version}
-%patch0 -p1 -b error-access-log-message
+%setup -q -n libusb-1.0.8
 
 %build
 %configure --libdir=/%{_lib}
@@ -56,16 +63,12 @@ make docs
 popd
 
 %install
-rm -rf $RPM_BUILD_ROOT
 make install DESTDIR=$RPM_BUILD_ROOT
 rm -f $RPM_BUILD_ROOT/%{_lib}/*.la
 
 mkdir -p %{buildroot}%{_libdir}/pkgconfig
 mv %{buildroot}/%{_lib}/pkgconfig/* %{buildroot}%{_libdir}/pkgconfig/
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %post -p /sbin/ldconfig
 %postun -p /sbin/ldconfig
 
@@ -90,6 +93,11 @@ rm -rf $RPM_BUILD_ROOT
 /%{_lib}/*.a
 
 %changelog
+* Thu Jul 14 2011 Hans de Goede <hdegoede at 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
+- Needed for: http://fedoraproject.org/wiki/Features/UsbNetworkRedirection
+
 * Tue Feb 08 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.0.8-7
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
 
diff --git a/sources b/sources
index dacfd80..344e19e 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-37d34e6eaa69a4b645a19ff4ca63ceef  libusb-1.0.8.tar.bz2
+5825f5ed3ebca011d10c4f86b515796b  libusb-1.0.9-0.1.tar.bz2


More information about the scm-commits mailing list