From 17fc67d8eb90dfc8f56b45c4ec6b0e446929dad1d3ac8b298f47edae1f51aefa Mon Sep 17 00:00:00 2001 From: OBS User autobuild Date: Fri, 4 Dec 2009 09:38:43 +0000 Subject: [PATCH] Accepting request 25484 from hardware Copy from hardware/libusb-1_0 based on submit request 25484 from user sbrabec OBS-URL: https://build.opensuse.org/request/show/25484 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libusb-1_0?expand=0&rev=9 --- libusb-1.0.2.tar.bz2 | 3 --- libusb-1.0.6.tar.bz2 | 3 +++ libusb-1_0-autotools.patch | 16 ---------------- libusb-1_0.changes | 20 ++++++++++++++++++++ libusb-1_0.spec | 17 +++++++---------- 5 files changed, 30 insertions(+), 29 deletions(-) delete mode 100644 libusb-1.0.2.tar.bz2 create mode 100644 libusb-1.0.6.tar.bz2 delete mode 100644 libusb-1_0-autotools.patch diff --git a/libusb-1.0.2.tar.bz2 b/libusb-1.0.2.tar.bz2 deleted file mode 100644 index c18f044..0000000 --- a/libusb-1.0.2.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9f5737019f3e4c14f68a2f829deb690330e89b634d1337683e453b94137669f1 -size 311980 diff --git a/libusb-1.0.6.tar.bz2 b/libusb-1.0.6.tar.bz2 new file mode 100644 index 0000000..8b00da0 --- /dev/null +++ b/libusb-1.0.6.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:39bb03dfcc9758c40948d92c1ec5dd90aebd972e67b921f0cc1aa610fb87db9d +size 322956 diff --git a/libusb-1_0-autotools.patch b/libusb-1_0-autotools.patch deleted file mode 100644 index fc663f7..0000000 --- a/libusb-1_0-autotools.patch +++ /dev/null @@ -1,16 +0,0 @@ -commit 2dadb399c61d8ca2c2fbba5e59168e270c7cffae -Author: Stanislav Brabec -Date: Mon Jun 29 15:57:17 2009 +0200 - - Don't include non-existing m4 directory. - -diff --git a/Makefile.am b/Makefile.am -index 8b90df0..c2d6f8d 100644 ---- a/Makefile.am -+++ b/Makefile.am -@@ -1,5 +1,4 @@ - AUTOMAKE_OPTIONS = dist-bzip2 --ACLOCAL_AMFLAGS = -I m4 - DISTCLEANFILES = ChangeLog libusb-1.0.pc - EXTRA_DIST = TODO PORTING BUGS - SUBDIRS = libusb doc diff --git a/libusb-1_0.changes b/libusb-1_0.changes index 946ecb3..9990cc0 100644 --- a/libusb-1_0.changes +++ b/libusb-1_0.changes @@ -1,3 +1,23 @@ +------------------------------------------------------------------- +Mon Nov 23 15:39:16 CET 2009 - sbrabec@suse.cz + +- Updated to version 1.0.6: + * Increase libusb_handle_events() timeout to 60 seconds. + * Allows libusb applications to access multiple interfaces of the + same device in the same application. + * Use timerfd for timeout handling. + * Add support for the new URB_BULK_CONTINUATION flag. + * Support for transfer locking. + * More flexibility with monotonic clock. + +------------------------------------------------------------------- +Tue Sep 08 19:32:23 CEST 2009 - opensuse@sukimashita.com + +- Updated to version 1.0.3: + * Bug fixes + * Allow sending zero length bulk packets + * Add libusb_get_max_iso_packet_size() + ------------------------------------------------------------------- Mon Jun 29 15:52:54 CEST 2009 - sbrabec@suse.cz diff --git a/libusb-1_0.spec b/libusb-1_0.spec index bf31c1c..3965986 100644 --- a/libusb-1_0.spec +++ b/libusb-1_0.spec @@ -1,5 +1,5 @@ # -# spec file for package libusb-1_0 (Version 1.0.2) +# spec file for package libusb-1_0 (Version 1.0.6) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -21,14 +21,12 @@ Name: libusb-1_0 %define _name libusb Url: http://libusb.wiki.sourceforge.net/Libusb1.0 -License: LGPL v2.1 or later +License: LGPLv2.1+ Summary: USB Library Group: System/Libraries -Version: 1.0.2 +Version: 1.0.6 Release: 1 Source: %{_name}-%{version}.tar.bz2 -# PATCH-FIX-UPSTREAM libusb-compat-autotools.patch https://sourceforge.net/tracker/?func=detail&aid=2813990&group_id=1674&atid=301674 sbrabec@suse.cz -- Build with the latest autotools. -Patch: libusb-1_0-autotools.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %define debug_package_requires libusb-1_0-0 = %{version}-%{release} @@ -47,7 +45,7 @@ Authors: Vasily Khoruzhick %package -n libusb-1_0-0 -License: LGPL v2.1 or later +License: LGPLv2.1+ Summary: USB Library Group: System/Libraries @@ -66,7 +64,7 @@ Authors: Vasily Khoruzhick %package devel -License: LGPL v2.1 or later +License: LGPLv2.1+ Summary: USB Library Group: Development/Libraries/C and C++ Requires: libusb-1_0-0 = %{version} glibc-devel @@ -87,11 +85,10 @@ Authors: %prep %setup -q -n %{_name}-%{version} -%patch -p1 %build -autoreconf -f -i -%configure --with-pic\ +mkdir m4 ; autoreconf -f -i +%configure\ --disable-static make %{?jobs:-j%jobs}