Fix udev rules path
This commit is contained in:
parent
d2306f76d5
commit
95d6efa8f3
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
Name: usb_modeswitch-data
|
Name: usb_modeswitch-data
|
||||||
Version: 20130807
|
Version: 20130807
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: USB Modeswitch gets mobile broadband cards in operational mode
|
Summary: USB Modeswitch gets mobile broadband cards in operational mode
|
||||||
Summary(de): USB Modeswitch aktiviert UMTS-Karten
|
Summary(de): USB Modeswitch aktiviert UMTS-Karten
|
||||||
Group: Applications/System
|
Group: Applications/System
|
||||||
@ -45,10 +45,10 @@ um zu funktionieren.
|
|||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/usb_modeswitch.d/
|
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 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
|
%post
|
||||||
udevadm control --reload-rules || :
|
udevadm control --reload-rules || :
|
||||||
@ -58,11 +58,14 @@ udevadm control --reload-rules || :
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
/lib/udev/rules.d/40-usb_modeswitch.rules
|
%{_udevrulesdir}/40-usb_modeswitch.rules
|
||||||
%config(noreplace) %{_sysconfdir}/usb_modeswitch.d/
|
%config(noreplace) %{_sysconfdir}/usb_modeswitch.d/
|
||||||
%doc ChangeLog COPYING README
|
%doc ChangeLog COPYING README
|
||||||
|
|
||||||
%changelog
|
%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
|
* Fri Aug 16 2013 Dan Williams <dcbw@redhat.com> - 20130807-1
|
||||||
- New upstream release
|
- New upstream release
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user