Install the rules into proper location
This commit is contained in:
parent
8b714fff15
commit
2ef89b1557
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
Name: usb_modeswitch-data
|
Name: usb_modeswitch-data
|
||||||
Version: 20160612
|
Version: 20160612
|
||||||
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
|
||||||
@ -40,11 +40,9 @@ um zu funktionieren.
|
|||||||
%build
|
%build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/usb_modeswitch.d/
|
make install \
|
||||||
mkdir -p $RPM_BUILD_ROOT%{_udevrulesdir}
|
DESTDIR=$RPM_BUILD_ROOT \
|
||||||
|
RULESDIR=$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%{_udevrulesdir}
|
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%udev_rules_update
|
%udev_rules_update
|
||||||
@ -54,11 +52,14 @@ install -p -m 644 40-usb_modeswitch.rules $RPM_BUILD_ROOT%{_udevrulesdir}
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%{_udevrulesdir}/40-usb_modeswitch.rules
|
%{_udevrulesdir}/40-usb_modeswitch.rules
|
||||||
%config(noreplace) %{_sysconfdir}/usb_modeswitch.d/
|
%{_datadir}/usb_modeswitch
|
||||||
%license COPYING
|
%license COPYING
|
||||||
%doc ChangeLog README REFERENCE
|
%doc ChangeLog README REFERENCE
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Jul 21 2016 Lubomir Rintel <lkundrak@v3.sk> - 20160612-2
|
||||||
|
- Install the rules into proper location
|
||||||
|
|
||||||
* Wed Jun 22 2016 Lubomir Rintel <lkundrak@v3.sk> - 20160612-1
|
* Wed Jun 22 2016 Lubomir Rintel <lkundrak@v3.sk> - 20160612-1
|
||||||
- Update to a new release
|
- Update to a new release
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user