From 41b61c42f5703ae5240167530b78ed032e54966c40c516de9fa014195a9f82ab Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Wed, 8 Jul 2009 18:38:55 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libusb-1_0?expand=0&rev=7 --- libusb-1.0.1.tar.bz2 | 3 - libusb-1.0.2.tar.bz2 | 3 + libusb-1_0-autotools.patch | 16 ++++++ libusb-1_0.changes | 6 ++ libusb-1_0.spec | 112 ++----------------------------------- 5 files changed, 30 insertions(+), 110 deletions(-) delete mode 100644 libusb-1.0.1.tar.bz2 create mode 100644 libusb-1.0.2.tar.bz2 create mode 100644 libusb-1_0-autotools.patch diff --git a/libusb-1.0.1.tar.bz2 b/libusb-1.0.1.tar.bz2 deleted file mode 100644 index ce8fcd9..0000000 --- a/libusb-1.0.1.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:510b9c7339e878324066ec1cb74c0f67d5df858065155a3239999ff911257d45 -size 310554 diff --git a/libusb-1.0.2.tar.bz2 b/libusb-1.0.2.tar.bz2 new file mode 100644 index 0000000..c18f044 --- /dev/null +++ b/libusb-1.0.2.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9f5737019f3e4c14f68a2f829deb690330e89b634d1337683e453b94137669f1 +size 311980 diff --git a/libusb-1_0-autotools.patch b/libusb-1_0-autotools.patch new file mode 100644 index 0000000..fc663f7 --- /dev/null +++ b/libusb-1_0-autotools.patch @@ -0,0 +1,16 @@ +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 265e1fe..946ecb3 100644 --- a/libusb-1_0.changes +++ b/libusb-1_0.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Jun 29 15:52:54 CEST 2009 - sbrabec@suse.cz + +- Updated to version 1.0.2: + * Bug fixes, see ChangeLog. + ------------------------------------------------------------------- Wed May 20 14:53:37 CEST 2009 - sbrabec@suse.cz diff --git a/libusb-1_0.spec b/libusb-1_0.spec index d11e8af..bf31c1c 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.1) +# spec file for package libusb-1_0 (Version 1.0.2) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -24,9 +24,11 @@ Url: http://libusb.wiki.sourceforge.net/Libusb1.0 License: LGPL v2.1 or later Summary: USB Library Group: System/Libraries -Version: 1.0.1 +Version: 1.0.2 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} @@ -85,6 +87,7 @@ Authors: %prep %setup -q -n %{_name}-%{version} +%patch -p1 %build autoreconf -f -i @@ -113,108 +116,3 @@ make %{?jobs:-j%jobs} %{_libdir}/pkgconfig/*.pc %changelog -* Wed May 20 2009 sbrabec@suse.cz -- Updated to version 1.0.1: - * Bug fixes - * Darwin backend -* Thu Apr 09 2009 sbrabec@suse.cz -- Updated to version 1.0.0, the new official stable branch: - * Bug fixes - * Add libusb_attach_kernel_driver() -* Thu Feb 05 2009 crrodriguez@suse.de -- remove "la" files -* Mon Oct 06 2008 sbrabec@suse.cz -- Added baselibs.conf (bnc#432304). -* Wed Sep 24 2008 ro@suse.de -- fix debug package requires -* Wed Sep 10 2008 sbrabec@suse.cz -- Updated to version 0.9.3: - * New branch, new API. - * Introduced contexts to the API. - * Compatible with new Linux kernel features. - * Isochronous endpoint I/O - * Asynchronous I/O with per-URB style callbacks - * Zero threads (lightweight, uses main thread of calling - application) - * Exposure of poll fds to applications for good mainloop - integration -* Fri Sep 05 2008 sbrabec@suse.cz -- Split according to shared library policy. -- Disabled static library. -* Wed May 07 2008 schwab@suse.de -- Fix configure script. -* Thu Apr 10 2008 ro@suse.de -- added baselibs.conf file to build xxbit packages - for multilib support -* Wed May 23 2007 meissner@suse.de -- libusb main package no longer should provide libusb-devel. -- run ldconfig in %%post/%%postun -* Tue May 22 2007 olh@suse.de -- split libusb-devel package (#203989) -* Tue Apr 17 2007 sbrabec@suse.cz -- Provide libusb-devel. -* Sun Mar 05 2006 olh@suse.de -- update to 0.1.12 - endian fixes, memory leaks fixed -* Wed Jan 25 2006 mls@suse.de -- converted neededforbuild to BuildRequires -* Sat Jan 21 2006 olh@suse.de -- update to 0.1.11 - pkgconfig support - Workaround regression in 0.1.10 with multi-threaded applications -* Fri Dec 09 2005 olh@suse.de -- remove resmgr patch -* Wed Nov 16 2005 lnussel@suse.de -- prefer /dev/bus/usb over /proc/bus/usb -- disable resmgr patch, not needed for /dev/bus/usb anymore -* Wed Aug 10 2005 olh@suse.de -- add patch from Kay Sievers to look also into /dev/bus/usb -* Tue May 31 2005 olh@suse.de -- add libusb-libusb_la-dep.patch to allow make -j -* Fri May 27 2005 olh@suse.de -- update to 0.1.10a -* Thu May 26 2005 olh@suse.de -- fix compile warnings -- build as user -- split our resmgr patch -* Sat Mar 19 2005 meissner@suse.de -- fixed a filedescriptor leak. #73967 -* Sat Feb 21 2004 meissner@suse.de -- upgraded to 0.1.8 final. -* Thu Feb 05 2004 lnussel@suse.de -- add -lresmgr to output of libusb-config -* Mon Aug 25 2003 adrian@suse.de -- do not provide usb anymore, it is not needed for an update - and breaks rpm4 update concept -* Tue Jul 22 2003 meissner@suse.de -- Upgraded to 0.1.8beta (finally supports USB interrupt - tranfers). -- Forward ported resmgr patch. -* Wed May 14 2003 meissner@suse.de -- added libusb.la. -* Wed Mar 05 2003 meissner@suse.de -- the resmgr device finder part was adding all devices - to all USB busses, leading to confusion later on. Check - for correct busnumber. -* Mon Nov 18 2002 schwab@suse.de -- Fix use of AC_DIVERT_PUSH. -* Mon Nov 11 2002 okir@suse.de -- allow opening USB devices via the resource manager -* Tue Oct 15 2002 freitag@suse.de -- updated to 0.1.6a stable release to support more scanners -* Thu Feb 07 2002 meissner@suse.de -- updated to 0.1.5 stable release -* Mon Jan 21 2002 meissner@suse.de -- updated to latest CVS snapshot, so I can build gphoto2. -- use buildroot -* Sat Nov 03 2001 ro@suse.de -- call automake with "-a -f" -* Mon Sep 03 2001 ro@suse.de -- removed Obsoletes and Provides usbutils (package reanimated) -* Fri May 25 2001 adrian@suse.de -- update to libusb-0.1.3b -- rename package from usbutils to libusb -* Tue Dec 05 2000 schwab@suse.de -- Add %%suse_update_config. -* Thu Nov 30 2000 olaf@suse.de -- add usbutils 0.7 to SuSE dist, will replace the usb.rpm