Update to new upstream version; remove TCL requirement

This commit is contained in:
Dan Williams 2012-04-24 14:31:27 -05:00
parent b7e2c7ea8c
commit bd73298682
2 changed files with 11 additions and 12 deletions

View File

@ -1,2 +1,2 @@
4f3d3b9342b59b488089a8a81abda3ae usb-modeswitch-1.2.2.tar.bz2
1378c0319520c817d49c7e9457c7d6e3 device_reference.txt
9b29e8b0d93d7604a9e5efc4696d37a3 usb-modeswitch-1.2.3.tar.bz2

View File

@ -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 <dcbw@redhat.com> 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 <huzaifas@redhat.com> 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 <huzaifas@redhat.com> 1.2.2-1
* Fri Jan 20 2012 Huzaifa Sidhpurwala <huzaifas@redhat.com> 1.2.2
- New upstream version 1.2.2
* Fri Jan 06 2012 Huzaifa Sidhpurwala <huzaifas@redhat.com> 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 <huzaifas@redhat.com> 1.2.0-1
- New upstream
* Sun Aug 07 2011 Robert M. Albrecht <fedora@romal.de> 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 <fedora@romal.de> 1.1.9-1
- New upstream version
- use device_reference.txt from upstream
* Mon Mar 28 2011 Rahul Sundaram <sundaram@fedoraproject.org> - 1.1.7-1
- New upstream release. Resolves rhbz#625004