From 95d6efa8f328c4a303b1e26993f9b3718d7eb263 Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Mon, 26 Aug 2013 10:50:42 -0500 Subject: [PATCH] Fix udev rules path --- usb_modeswitch-data.spec | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/usb_modeswitch-data.spec b/usb_modeswitch-data.spec index 7367f60..57f76b3 100644 --- a/usb_modeswitch-data.spec +++ b/usb_modeswitch-data.spec @@ -2,7 +2,7 @@ Name: usb_modeswitch-data Version: 20130807 -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 @@ -45,10 +45,10 @@ um zu funktionieren. %install rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/usb_modeswitch.d/ -mkdir -p $RPM_BUILD_ROOT/lib/udev/rules.d/ +mkdir -p $RPM_BUILD_ROOT%{_udevrulesdir} install -p -m 644 usb_modeswitch.d/* $RPM_BUILD_ROOT%{_sysconfdir}/usb_modeswitch.d/ -install -p -m 644 40-usb_modeswitch.rules $RPM_BUILD_ROOT/lib/udev/rules.d +install -p -m 644 40-usb_modeswitch.rules $RPM_BUILD_ROOT%{_udevrulesdir} %post udevadm control --reload-rules || : @@ -58,11 +58,14 @@ udevadm control --reload-rules || : %files %defattr(-,root,root,-) -/lib/udev/rules.d/40-usb_modeswitch.rules +%{_udevrulesdir}/40-usb_modeswitch.rules %config(noreplace) %{_sysconfdir}/usb_modeswitch.d/ %doc ChangeLog COPYING README %changelog +* Mon Aug 26 2013 Dan Williams - 20130807-1 +- Fix udev rules path + * Fri Aug 16 2013 Dan Williams - 20130807-1 - New upstream release