From bd732986824045d4c6f8a6ed0d8ef0be231fbaa0 Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Tue, 24 Apr 2012 14:31:27 -0500 Subject: [PATCH] Update to new upstream version; remove TCL requirement --- sources | 2 +- usb_modeswitch.spec | 21 ++++++++++----------- 2 files changed, 11 insertions(+), 12 deletions(-) diff --git a/sources b/sources index 45f201d..c7fb458 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -4f3d3b9342b59b488089a8a81abda3ae usb-modeswitch-1.2.2.tar.bz2 1378c0319520c817d49c7e9457c7d6e3 device_reference.txt +9b29e8b0d93d7604a9e5efc4696d37a3 usb-modeswitch-1.2.3.tar.bz2 diff --git a/usb_modeswitch.spec b/usb_modeswitch.spec index ae7a4a5..d50ba37 100644 --- a/usb_modeswitch.spec +++ b/usb_modeswitch.spec @@ -1,8 +1,8 @@ %define source_name usb-modeswitch Name: usb_modeswitch -Version: 1.2.2 -Release: 2%{?dist} +Version: 1.2.3 +Release: 1%{?dist} Summary: USB Modeswitch gets mobile broadband cards in operational mode Summary(de): USB Modeswitch aktiviert UMTS-Karten Group: Applications/System @@ -37,7 +37,7 @@ touch -r device_reference.txt device_reference.txt.new && \ mv device_reference.txt.new device_reference.txt %build -CFLAGS="$RPM_OPT_FLAGS" make %{?_smp_mflags} +CFLAGS="$RPM_OPT_FLAGS" make %{?_smp_mflags} static %install @@ -48,7 +48,7 @@ mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1 mkdir -p $RPM_BUILD_ROOT%{_sysconfdir} install -p -m 755 usb_modeswitch $RPM_BUILD_ROOT%{_sbindir}/ -install -p -m 755 usb_modeswitch.tcl $RPM_BUILD_ROOT%{_sbindir}/usb_modeswitch_dispatcher +install -p -m 755 usb_modeswitch_dispatcher $RPM_BUILD_ROOT%{_sbindir}/usb_modeswitch_dispatcher install -p -m 644 usb_modeswitch.conf $RPM_BUILD_ROOT%{_sysconfdir}/ gzip -9c usb_modeswitch.1 > usb_modeswitch.1.gz && install -m 644 usb_modeswitch.1.gz $RPM_BUILD_ROOT%{_datadir}/man/man1 install -p -m 755 usb_modeswitch.sh $RPM_BUILD_ROOT/lib/udev/usb_modeswitch @@ -66,12 +66,16 @@ install -p -m 755 usb_modeswitch.sh $RPM_BUILD_ROOT/lib/udev/usb_modeswitch %changelog +* Tue Apr 24 2012 Dan Williams 1.2.3-1 +- Update to new upstream release +- Build TCL tool as a static binary to remove dependency on TCL itself rhbz#760839 + * Wed Jan 25 2012 Huzaifa Sidhpurwala 1.2.2-2 - Add usb_modeswitch.sh udev script and move Tcl dispatcher script to sbindir, resolves rhbz#782614, patch from Dominic Cleal - Fix bus/device-based search, from deb#656248 -* Fri Jan 20 2012 Huzaifa Sidhpurwala 1.2.2-1 +* Fri Jan 20 2012 Huzaifa Sidhpurwala 1.2.2 - New upstream version 1.2.2 * Fri Jan 06 2012 Huzaifa Sidhpurwala 1.2.1-1 @@ -79,12 +83,7 @@ install -p -m 755 usb_modeswitch.sh $RPM_BUILD_ROOT/lib/udev/usb_modeswitch * Tue Oct 25 2011 Huzaifa Sidhpurwala 1.2.0-1 - New upstream - -* Sun Aug 07 2011 Robert M. Albrecht 1.1.9-2 -- device_reference.txt is no longer included in upstream package, but an optional download - -* Sun Aug 07 2011 Robert M. Albrecht 1.1.9-1 -- New upstream version +- use device_reference.txt from upstream * Mon Mar 28 2011 Rahul Sundaram - 1.1.7-1 - New upstream release. Resolves rhbz#625004