Compare commits
No commits in common. "c9-beta" and "c8s" have entirely different histories.
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
|||||||
SOURCES/usb-modeswitch-2.6.1.tar.bz2
|
/usb-modeswitch-2.5.2.tar.bz2
|
||||||
|
@ -1 +0,0 @@
|
|||||||
ddf2b214488aa63e7e390d1ed0113b66262af343 SOURCES/usb-modeswitch-2.6.1.tar.bz2
|
|
26
0001-usb_modeswitch-count-the-target-devices-from-zero.patch
Normal file
26
0001-usb_modeswitch-count-the-target-devices-from-zero.patch
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
From 99cade3624c432a478e624f278692cdedf4e0450 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Lubomir Rintel <lkundrak@v3.sk>
|
||||||
|
Date: Fri, 18 Aug 2017 10:40:41 +0200
|
||||||
|
Subject: [PATCH] usb_modeswitch: count the target devices from zero
|
||||||
|
|
||||||
|
Most likely a typo here.
|
||||||
|
---
|
||||||
|
usb_modeswitch.c | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/usb_modeswitch.c b/usb_modeswitch.c
|
||||||
|
index 3239946..1b3bf9d 100644
|
||||||
|
--- a/usb_modeswitch.c
|
||||||
|
+++ b/usb_modeswitch.c
|
||||||
|
@@ -1582,7 +1582,7 @@ int checkSuccess()
|
||||||
|
* description is read for syslog message
|
||||||
|
*/
|
||||||
|
// Wait counter passed on from previous loop
|
||||||
|
- for (i=i; i < CheckSuccess; i++) {
|
||||||
|
+ for (i=0; i < CheckSuccess; i++) {
|
||||||
|
SHOW_PROGRESS(output," Search for target devices ...\n");
|
||||||
|
dev = search_devices(&newTargetCount, TargetVendor, TargetProductList,
|
||||||
|
TargetClass, 0, SEARCH_TARGET);
|
||||||
|
--
|
||||||
|
2.14.3
|
||||||
|
|
6
gating.yaml
Normal file
6
gating.yaml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
--- !Policy
|
||||||
|
product_versions:
|
||||||
|
- rhel-8
|
||||||
|
decision_context: osci_compose_gate
|
||||||
|
rules:
|
||||||
|
- !PassingTestCaseRule {test_case_name: desktop-qe.desktop-ci.tier1-gating.functional}
|
1
sources
Normal file
1
sources
Normal file
@ -0,0 +1 @@
|
|||||||
|
SHA512 (usb-modeswitch-2.5.2.tar.bz2) = ad2a7e5134379664fca83b85803e52ec8e3fe3c2d6c633eb5af3c291c43b15ca4a67198612864de01d146a029ee5c475c8c7dc71d16e3a475b532837c5dd34ea
|
@ -1,10 +1,11 @@
|
|||||||
%define source_name usb-modeswitch
|
%define source_name usb-modeswitch
|
||||||
|
|
||||||
Name: usb_modeswitch
|
Name: usb_modeswitch
|
||||||
Version: 2.6.1
|
Version: 2.5.2
|
||||||
Release: 4%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: USB Modeswitch gets mobile broadband cards in operational mode
|
Summary: USB Modeswitch gets mobile broadband cards in operational mode
|
||||||
Summary(de): USB Modeswitch aktiviert UMTS-Karten
|
Summary(de): USB Modeswitch aktiviert UMTS-Karten
|
||||||
|
Group: Applications/System
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
URL: http://www.draisberghof.de/usb_modeswitch/
|
URL: http://www.draisberghof.de/usb_modeswitch/
|
||||||
|
|
||||||
@ -13,12 +14,11 @@ Source1: http://www.draisberghof.de/usb_modeswitch/device_reference.txt
|
|||||||
|
|
||||||
# Submitted upstream (2014-11-24)
|
# Submitted upstream (2014-11-24)
|
||||||
Patch0: device_reference-utf8.patch
|
Patch0: device_reference-utf8.patch
|
||||||
|
# http://www.draisberghof.de/usb_modeswitch/bb/viewtopic.php?f=2&t=2733
|
||||||
|
Patch1: 0001-usb_modeswitch-count-the-target-devices-from-zero.patch
|
||||||
|
|
||||||
BuildRequires: make
|
|
||||||
BuildRequires: gcc
|
|
||||||
BuildRequires: libusbx-devel
|
BuildRequires: libusbx-devel
|
||||||
# "tcl" or "jimsh"), use the light-weight installation:
|
BuildRequires: jimtcl-devel
|
||||||
#BuildRequires: jimtcl-devel
|
|
||||||
BuildRequires: systemd
|
BuildRequires: systemd
|
||||||
Requires: usb_modeswitch-data >= 20121109
|
Requires: usb_modeswitch-data >= 20121109
|
||||||
Requires: systemd
|
Requires: systemd
|
||||||
@ -42,18 +42,18 @@ Vodafone, Option, ZTE und Novatell werden unterstützt.
|
|||||||
cp -f %{SOURCE1} device_reference.txt
|
cp -f %{SOURCE1} device_reference.txt
|
||||||
|
|
||||||
%patch0 -p0
|
%patch0 -p0
|
||||||
|
%patch1 -p1
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{set_build_flags}
|
%{set_build_flags}
|
||||||
# this will require jimtcl-devel
|
make %{?_smp_mflags}
|
||||||
#make_build all-with-dynlink-dispatcher
|
|
||||||
%make_build
|
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
mkdir -p $RPM_BUILD_ROOT%{_unitdir}
|
mkdir -p $RPM_BUILD_ROOT%{_unitdir}
|
||||||
%make_install \
|
make install \
|
||||||
|
DESTDIR=$RPM_BUILD_ROOT \
|
||||||
SYSDIR=$RPM_BUILD_ROOT%{_unitdir} \
|
SYSDIR=$RPM_BUILD_ROOT%{_unitdir} \
|
||||||
UDEVDIR=$RPM_BUILD_ROOT%{_prefix}/lib/udev
|
UDEVDIR=$RPM_BUILD_ROOT%{_prefix}/lib/udev
|
||||||
|
|
||||||
@ -70,43 +70,6 @@ mkdir -p $RPM_BUILD_ROOT%{_unitdir}
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 2.6.1-4
|
|
||||||
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
||||||
Related: rhbz#1991688
|
|
||||||
|
|
||||||
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 2.6.1-3
|
|
||||||
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
||||||
|
|
||||||
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.6.1-2
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
||||||
|
|
||||||
* Wed Nov 18 2020 Sérgio Basto <sergio@serjux.com> - 2.6.1-1
|
|
||||||
- Update usb_modeswitch to 2.6.1
|
|
||||||
- Drop patch1, http://www.draisberghof.de/usb_modeswitch/bb/viewtopic.php?f=2&t=2733
|
|
||||||
- Drop BR jimtcl-devel, if we don't install dynlink-dispatcher
|
|
||||||
|
|
||||||
* Tue Sep 29 2020 Sérgio Basto <sergio@serjux.com> - 2.6.0-3
|
|
||||||
- Use make macros (https://src.fedoraproject.org/rpms/usb_modeswitch/pull-request/1)
|
|
||||||
- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
|
|
||||||
|
|
||||||
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.6.0-2
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
||||||
|
|
||||||
* Tue Mar 24 2020 Lubomir Rintel <lkundrak@v3.sk> - 2.6.0-1
|
|
||||||
- New 2.6.0 release
|
|
||||||
|
|
||||||
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.5.2-5
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
||||||
|
|
||||||
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.5.2-4
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
||||||
|
|
||||||
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.5.2-3
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
||||||
|
|
||||||
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.5.2-2
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
||||||
|
|
||||||
* Wed Feb 28 2018 Lubomir Rintel <lkundrak@v3.sk> - 2.5.2-1
|
* Wed Feb 28 2018 Lubomir Rintel <lkundrak@v3.sk> - 2.5.2-1
|
||||||
- New 2.5.2 release
|
- New 2.5.2 release
|
||||||
|
|
Loading…
Reference in New Issue
Block a user