Fix udev rules path

This commit is contained in:
Dan Williams 2013-08-26 10:50:42 -05:00
parent d2306f76d5
commit 95d6efa8f3

View File

@ -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 <dcbw@redhat.com> - 20130807-1
- Fix udev rules path
* Fri Aug 16 2013 Dan Williams <dcbw@redhat.com> - 20130807-1
- New upstream release