From e4f1b78e85fe63576d35931a670f316068fdfc959bd57f389f99e209ad282b02 Mon Sep 17 00:00:00 2001 From: Lars Vogdt Date: Tue, 29 Sep 2020 15:48:34 +0000 Subject: [PATCH] Accepting request 835086 from home:dirkmueller:branches:hardware MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - update to 2.6.1: Wrapper now handles devices with non-continuous interface numbering: www.draisberghof.de/usb_modeswitch/bb/viewtopic.php?f=2&t=2915&p=19605 (thanks to Jakub Vaněk); catch error with retrieving the active confi- guration, exit gracefully - use https for downloads, spec-cleaner run OBS-URL: https://build.opensuse.org/request/show/835086 OBS-URL: https://build.opensuse.org/package/show/hardware/usb_modeswitch?expand=0&rev=80 --- usb-modeswitch-2.6.0.tar.bz2 | 3 --- usb-modeswitch-2.6.1.tar.bz2 | 3 +++ usb_modeswitch.changes | 10 ++++++++++ usb_modeswitch.spec | 36 +++++++++++++++++------------------- 4 files changed, 30 insertions(+), 22 deletions(-) delete mode 100644 usb-modeswitch-2.6.0.tar.bz2 create mode 100644 usb-modeswitch-2.6.1.tar.bz2 diff --git a/usb-modeswitch-2.6.0.tar.bz2 b/usb-modeswitch-2.6.0.tar.bz2 deleted file mode 100644 index 29cac8c..0000000 --- a/usb-modeswitch-2.6.0.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c215236e6bada6e659fc195a31d611ea298a4bdb4d57a0d68c553b56585f8ba3 -size 44971 diff --git a/usb-modeswitch-2.6.1.tar.bz2 b/usb-modeswitch-2.6.1.tar.bz2 new file mode 100644 index 0000000..f1c0436 --- /dev/null +++ b/usb-modeswitch-2.6.1.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5195d9e136e52f658f19e9f93e4f982b1b67bffac197d0a455cd8c2cd245fa34 +size 45471 diff --git a/usb_modeswitch.changes b/usb_modeswitch.changes index c1fa5dc..88e5ad2 100644 --- a/usb_modeswitch.changes +++ b/usb_modeswitch.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Thu Sep 17 06:17:44 UTC 2020 - Dirk Mueller + +- update to 2.6.1: + Wrapper now handles devices with non-continuous interface numbering: + www.draisberghof.de/usb_modeswitch/bb/viewtopic.php?f=2&t=2915&p=19605 + (thanks to Jakub Vaněk); catch error with retrieving the active confi- + guration, exit gracefully +- use https for downloads, spec-cleaner run + ------------------------------------------------------------------- Mon Dec 23 21:41:13 UTC 2019 - enzokiel@kabelmail.de diff --git a/usb_modeswitch.spec b/usb_modeswitch.spec index 28031b3..63ea315 100644 --- a/usb_modeswitch.spec +++ b/usb_modeswitch.spec @@ -1,7 +1,7 @@ # # spec file for package usb_modeswitch # -# Copyright (c) 2019 SUSE LLC +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,30 +16,29 @@ # -%define source_name usb-modeswitch -%define date 20191128 +%define source_name usb-modeswitch +%define date 20191128 %define _udevdir %(pkg-config --variable=udevdir udev) Name: usb_modeswitch -Version: 2.6.0 +Version: 2.6.1 Release: 0 Summary: A mode switching tool for controlling multiple-device USB gear -License: GPL-2.0+ +License: GPL-2.0-or-later Group: Hardware/Mobile -Url: http://www.draisberghof.de/usb_modeswitch -Source0: http://www.draisberghof.de/usb_modeswitch/%{source_name}-%{version}.tar.bz2 -Source1: http://www.draisberghof.de/usb_modeswitch/%{source_name}-data-%{date}.tar.bz2 -Source2: http://www.draisberghof.de/usb_modeswitch/device_reference.txt -Source3: http://www.draisberghof.de/usb_modeswitch/parameter_reference.txt +URL: https://www.draisberghof.de/usb_modeswitch/ +Source0: https://www.draisberghof.de/usb_modeswitch/%{source_name}-%{version}.tar.bz2 +Source1: https://www.draisberghof.de/usb_modeswitch/%{source_name}-data-%{date}.tar.bz2 +Source2: https://www.draisberghof.de/usb_modeswitch/device_reference.txt +Source3: https://www.draisberghof.de/usb_modeswitch/parameter_reference.txt Patch1: usb_modeswitch-fix_fsf_address.patch BuildRequires: fdupes -BuildRequires: pkg-config +BuildRequires: pkgconfig BuildRequires: pkgconfig(libusb-1.0) -BuildRequires: pkgconfig(udev) BuildRequires: pkgconfig(systemd) -%{?systemd_requires} +BuildRequires: pkgconfig(udev) Requires: tcl >= 8.4 Requires: usb_modeswitch-data = %{version} -BuildRoot: %{_tmppath}/%{name}-%{version}-build +%{?systemd_requires} %description USB_ModeSwitch is a mode switching tool for controlling "flip flop" @@ -91,19 +90,18 @@ make DESTDIR=%{buildroot} install %{?_smp_mflags} RULESDIR=%{buildroot}%{_udevdi %service_del_postun usb_modeswitch@.service %files -%defattr(-,root,root,-) -%doc README COPYING device_reference.txt parameter_reference.txt +%license COPYING +%doc README device_reference.txt parameter_reference.txt %{_sbindir}/usb_modeswitch %{_sbindir}/usb_modeswitch_dispatcher %{_udevdir}/usb_modeswitch %{_unitdir}/usb_modeswitch@.service %{_localstatedir}/lib/usb_modeswitch %config %{_sysconfdir}/usb_modeswitch.conf -%{_mandir}/man1/usb_modeswitch.1.gz -%{_mandir}/man1/usb_modeswitch_dispatcher.1.gz +%{_mandir}/man1/usb_modeswitch.1%{?ext_man} +%{_mandir}/man1/usb_modeswitch_dispatcher.1%{?ext_man} %files data -%defattr(-,root,root,-) %{_datadir}/usb_modeswitch/ %{_udevdir}/rules.d/40-usb_modeswitch.rules