diff --git a/libusb1-1.7.1.tar.gz b/libusb1-1.7.1.tar.gz deleted file mode 100644 index 55f0c75..0000000 --- a/libusb1-1.7.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:adf64a4f3f5c94643a1286f8153bcf4bc787c348b38934aacd7fe17fbeebc571 -size 78016 diff --git a/libusb1-1.9.1.tar.gz b/libusb1-1.9.1.tar.gz new file mode 100644 index 0000000..f237348 --- /dev/null +++ b/libusb1-1.9.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d03ef15248c8b8ce440f6be4248eaadc074fc2dc5edd36c48e6e78eef3999292 +size 79646 diff --git a/python-libusb1.changes b/python-libusb1.changes index 5da5eaf..f0592fc 100644 --- a/python-libusb1.changes +++ b/python-libusb1.changes @@ -1,3 +1,21 @@ +------------------------------------------------------------------- +Wed Jan 20 09:43:06 UTC 2021 - John Vandenberg + +- Update to v1.9.1 + * Fix installation from pypi source tarball, broken in 1.8.1 +- from v1.9 + * Drop USBPollerThread + * Deprecate libusb-lock-related USBContext API +- from v1.8.1 + * Embed libusb1 dll for easier deployment on Windows + * Cryptographically signed releases + * Use libusb_free_pollfds whenever available (libusb1>=1.0.20) + * Fix hotplug callback destruction at context teardown + * Drop remnants of python 2.6 support code +- from v1.8 + * Fix getExtra and libusb1.libusb_control_transfer_get_data + * Fix getMaxPower unit on SuperSpeed devices + ------------------------------------------------------------------- Wed May 15 21:54:23 UTC 2019 - Jonathan Harker diff --git a/python-libusb1.spec b/python-libusb1.spec index a7d5be0..c83512c 100644 --- a/python-libusb1.spec +++ b/python-libusb1.spec @@ -1,7 +1,7 @@ # # spec file for package python-libusb1 # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-libusb1 -Version: 1.7.1 +Version: 1.9.1 Release: 0 Summary: Python wrapper for libusb-1.0 # Relicensed from GPL to LGPLv2.1+ in May 2015 @@ -40,6 +40,8 @@ This is a pure python wrapper for libusb-1.0. %prep %setup -q -n libusb1-%{version} +sed -i '/wheel/d' setup.py + sed -i '1{/^#!/d}' examples/*.py chmod a-x examples/*.py @@ -51,7 +53,7 @@ chmod a-x examples/*.py %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%python_exec -m usb1.testUSB1 +%python_exec -m usb1.testUSB1 -v %files %{python_files} %doc README.rst examples/