From b7e2c7ea8cb26be6e7b4775b87d5e7d30af48013 Mon Sep 17 00:00:00 2001 From: Huzaifa Sidhpurwala Date: Wed, 25 Jan 2012 12:56:03 +0530 Subject: [PATCH] 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 --- usb_modeswitch.spec | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/usb_modeswitch.spec b/usb_modeswitch.spec index f5577c0..ae7a4a5 100644 --- a/usb_modeswitch.spec +++ b/usb_modeswitch.spec @@ -2,7 +2,7 @@ Name: usb_modeswitch Version: 1.2.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: USB Modeswitch gets mobile broadband cards in operational mode Summary(de): USB Modeswitch aktiviert UMTS-Karten Group: Applications/System @@ -48,15 +48,17 @@ 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 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.tcl $RPM_BUILD_ROOT/lib/udev/usb_modeswitch +install -p -m 755 usb_modeswitch.sh $RPM_BUILD_ROOT/lib/udev/usb_modeswitch %files %defattr(-,root,root,-) %{_sbindir}/usb_modeswitch +%{_sbindir}/usb_modeswitch_dispatcher %{_mandir}/man1/usb_modeswitch.1.gz /lib/udev/usb_modeswitch %config(noreplace) %{_sysconfdir}/usb_modeswitch.conf @@ -64,6 +66,11 @@ install -p -m 755 usb_modeswitch.tcl $RPM_BUILD_ROOT/lib/udev/usb_modeswitch %changelog +* 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 - New upstream version 1.2.2