From 16bbdf02e2d8f4c014882e3d4ce818ce3a66f276 Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Fri, 26 Jul 2013 18:26:22 -0500 Subject: [PATCH] Fix udev directories --- usb_modeswitch.spec | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/usb_modeswitch.spec b/usb_modeswitch.spec index f4d0e60..ec9b728 100644 --- a/usb_modeswitch.spec +++ b/usb_modeswitch.spec @@ -2,7 +2,7 @@ Name: usb_modeswitch Version: 1.2.6 -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 @@ -42,7 +42,7 @@ CFLAGS="$RPM_OPT_FLAGS" make %{?_smp_mflags} static %install rm -rf $RPM_BUILD_ROOT -mkdir -p $RPM_BUILD_ROOT/lib/udev/rules.d/ +mkdir -p $RPM_BUILD_ROOT%{_libdir}/udev/rules.d/ mkdir -p $RPM_BUILD_ROOT%{_sbindir} mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1 mkdir -p $RPM_BUILD_ROOT%{_sysconfdir} @@ -51,7 +51,7 @@ install -p -m 755 usb_modeswitch $RPM_BUILD_ROOT%{_sbindir}/ 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 +install -p -m 755 usb_modeswitch.sh $RPM_BUILD_ROOT%{_libdir}/udev/usb_modeswitch @@ -60,12 +60,15 @@ install -p -m 755 usb_modeswitch.sh $RPM_BUILD_ROOT/lib/udev/usb_modeswitch %{_sbindir}/usb_modeswitch %{_sbindir}/usb_modeswitch_dispatcher %{_mandir}/man1/usb_modeswitch.1.gz -/lib/udev/usb_modeswitch +%{_libdir}/udev/usb_modeswitch %config(noreplace) %{_sysconfdir}/usb_modeswitch.conf %doc COPYING README ChangeLog device_reference.txt %changelog +* Fri Jul 26 2013 Dan Williams - 1.2.6-2 +- Fix udev directories + * Wed Jun 12 2013 Huzaifa Sidhpurwala - 1.2.6 - New upstream release.