From 3e71e282af80a7deb47d7b709b70e5ae0c2a70d78f1cdd306b270c3bc2e321a3 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Fri, 8 Dec 2023 08:19:55 +0000 Subject: [PATCH] - update to 3.1.0: * Fix bug preventing use of setPollFDNotifiers. * Wrap libusb_interrupt_event_handler, available since libusb 1.0.21, to help applications wake an event handling thread (ex: durring exit). segfault when closing a transfer from inside its callback function. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-libusb1?expand=0&rev=9 --- libusb1-3.0.0.tar.gz | 3 --- libusb1-3.1.0.tar.gz | 3 +++ python-libusb1.changes | 11 ++++++++++- python-libusb1.spec | 8 ++++---- 4 files changed, 17 insertions(+), 8 deletions(-) delete mode 100644 libusb1-3.0.0.tar.gz create mode 100644 libusb1-3.1.0.tar.gz diff --git a/libusb1-3.0.0.tar.gz b/libusb1-3.0.0.tar.gz deleted file mode 100644 index 999aed5..0000000 --- a/libusb1-3.0.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5792a9defee40f15d330a40d9b1800545c32e47ba7fc66b6f28f133c9fcc8538 -size 82499 diff --git a/libusb1-3.1.0.tar.gz b/libusb1-3.1.0.tar.gz new file mode 100644 index 0000000..edd7b51 --- /dev/null +++ b/libusb1-3.1.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4ee9b0a55f8bd0b3ea7017ae919a6c1f439af742c4a4b04543c5fd7af89b828c +size 83013 diff --git a/python-libusb1.changes b/python-libusb1.changes index 8d7f28c..9762662 100644 --- a/python-libusb1.changes +++ b/python-libusb1.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Fri Dec 8 08:19:05 UTC 2023 - Dirk Müller + +- update to 3.1.0: + * Fix bug preventing use of setPollFDNotifiers. + * Wrap libusb_interrupt_event_handler, available since libusb + 1.0.21, to help applications wake an event handling thread (ex: + durring exit). + ------------------------------------------------------------------- Thu Mar 3 04:49:28 UTC 2022 - Steve Kowalik @@ -41,7 +50,7 @@ Wed May 15 21:54:23 UTC 2019 - Jonathan Harker - Upgrade to 1.7.1: * usb1.__version__ is now present, managed by versioneer. Fix an occasional - segfault when closing a transfer from inside its callback function. + segfault when closing a transfer from inside its callback function. ------------------------------------------------------------------- Mon Apr 15 06:40:15 UTC 2019 - John Vandenberg diff --git a/python-libusb1.spec b/python-libusb1.spec index 944c47f..fa6e424 100644 --- a/python-libusb1.spec +++ b/python-libusb1.spec @@ -1,7 +1,7 @@ # # spec file for package python-libusb1 # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 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: 3.0.0 +Version: 3.1.0 Release: 0 Summary: Python wrapper for libusb-1.0 # Relicensed from GPL to LGPLv2.1+ in May 2015 @@ -28,9 +28,9 @@ URL: https://github.com/vpelletier/%{name} Source: https://files.pythonhosted.org/packages/source/l/libusb1/libusb1-%{version}.tar.gz BuildRequires: %{python_module setuptools} BuildRequires: fdupes -BuildRequires: libusb-1_0-0 +BuildRequires: libusb-1_0-0 >= 1.0.21 BuildRequires: python-rpm-macros -Requires: libusb-1_0-0 +Requires: libusb-1_0-0 >= 1.0.21 BuildArch: noarch %python_subpackages