Accepting request 590913 from hardware
OBS-URL: https://build.opensuse.org/request/show/590913 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libusb-1_0?expand=0&rev=40
This commit is contained in:
commit
9e1aa135b2
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:7dce9cce9a81194b7065ee912bcd55eeffebab694ea403ffb91b67db66b1824b
|
|
||||||
size 607417
|
|
3
libusb-1.0.22.tar.bz2
Normal file
3
libusb-1.0.22.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:75aeb9d59a4fdb800d329a545c2e6799f732362193b465ea198f2aa275518157
|
||||||
|
size 598833
|
@ -1,3 +1,32 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Mar 25 10:05:47 UTC 2018 - mardnh@gmx.de
|
||||||
|
|
||||||
|
- Update to version 1.0.22
|
||||||
|
* Core: Refactor code related to transfer flags and timeout handling
|
||||||
|
* Linux: Support preallocating kernel memory for zerocopy USB
|
||||||
|
* Linux: Deal with receiving POLLERR before all transfers have completed
|
||||||
|
* Prevent attempts to recursively handle events
|
||||||
|
* Fix race condition in handle_timeout()
|
||||||
|
* Allow transferred argument to be optional in bulk APIs
|
||||||
|
* Various other bug fixes and improvements
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Mar 22 09:10:18 UTC 2018 - jengelh@inai.de
|
||||||
|
|
||||||
|
- Fix SRPM group.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Mar 20 12:18:32 UTC 2018 - tchvatal@suse.com
|
||||||
|
|
||||||
|
- Use dos2unix to generate the non-windows trailing on files
|
||||||
|
- Remove sle11 support as it got borged with last commit and
|
||||||
|
we don't mostly need it to build there
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Mar 20 13:10:13 CET 2018 - kukuk@suse.de
|
||||||
|
|
||||||
|
- Use %license instead of %doc [bsc#1082318]
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Oct 30 09:21:25 UTC 2016 - mardnh@gmx.de
|
Sun Oct 30 09:21:25 UTC 2016 - mardnh@gmx.de
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package libusb-1_0
|
# spec file for package libusb-1_0
|
||||||
#
|
#
|
||||||
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -16,22 +16,20 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%define _name libusb
|
||||||
|
%define debug_package_requires libusb-1_0-0 = %{version}-%{release}
|
||||||
Name: libusb-1_0
|
Name: libusb-1_0
|
||||||
Version: 1.0.21
|
Version: 1.0.22
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: USB Library
|
Summary: USB Library
|
||||||
License: LGPL-2.1+
|
License: LGPL-2.1-or-later
|
||||||
Group: System/Libraries
|
Group: System/Hardware
|
||||||
%define _name libusb
|
URL: http://libusb.info/
|
||||||
Url: http://libusb.info/
|
|
||||||
Source: https://github.com/libusb/libusb/releases/download/v%{version}/libusb-%{version}.tar.bz2
|
Source: https://github.com/libusb/libusb/releases/download/v%{version}/libusb-%{version}.tar.bz2
|
||||||
Source1: baselibs.conf
|
Source1: baselibs.conf
|
||||||
BuildRequires: pkg-config
|
BuildRequires: dos2unix
|
||||||
%if 0%{?suse_version} >= 1200
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: pkgconfig(libudev)
|
BuildRequires: pkgconfig(libudev)
|
||||||
%endif
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
%define debug_package_requires libusb-1_0-0 = %{version}-%{release}
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Libusb is a library that allows userspace access to USB devices.
|
Libusb is a library that allows userspace access to USB devices.
|
||||||
@ -54,32 +52,28 @@ Libusb is a library that allows userspace access to USB devices.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{_name}-%{version}
|
%setup -q -n %{_name}-%{version}
|
||||||
tr -d '\r' <NEWS >NEWS.unix ; touch -r NEWS NEWS.unix ; mv NEWS.unix NEWS
|
dos2unix NEWS
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure\
|
%configure \
|
||||||
%if 0%{?suse_version} < 1200
|
--with-pic \
|
||||||
--disable-udev\
|
--disable-silent-rules \
|
||||||
%endif
|
|
||||||
--with-pic\
|
|
||||||
--disable-static
|
--disable-static
|
||||||
make
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%makeinstall
|
%make_install
|
||||||
rm -f %{buildroot}%{_libdir}/*.la
|
find %{buildroot} -type f -name "*.la" -delete -print
|
||||||
|
|
||||||
%post -n libusb-1_0-0 -p /sbin/ldconfig
|
%post -n libusb-1_0-0 -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -n libusb-1_0-0 -p /sbin/ldconfig
|
%postun -n libusb-1_0-0 -p /sbin/ldconfig
|
||||||
|
|
||||||
%files -n libusb-1_0-0
|
%files -n libusb-1_0-0
|
||||||
%defattr(-,root,root)
|
%license COPYING
|
||||||
%doc AUTHORS ChangeLog COPYING NEWS README TODO
|
%doc AUTHORS ChangeLog NEWS README TODO
|
||||||
%{_libdir}/*.so.*
|
%{_libdir}/*.so.*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
|
||||||
%doc PORTING
|
%doc PORTING
|
||||||
%{_includedir}/libusb-1.0
|
%{_includedir}/libusb-1.0
|
||||||
%{_libdir}/*.so
|
%{_libdir}/*.so
|
||||||
|
Loading…
Reference in New Issue
Block a user