Modernize the SPEC a tiny bit
This commit is contained in:
parent
63bd8bf900
commit
8b714fff15
@ -1,4 +1,4 @@
|
||||
%define source_name usb-modeswitch-data
|
||||
%global source_name usb-modeswitch-data
|
||||
|
||||
Name: usb_modeswitch-data
|
||||
Version: 20160612
|
||||
@ -47,10 +47,10 @@ install -p -m 644 usb_modeswitch.d/* $RPM_BUILD_ROOT%{_sysconfdir}/usb_modeswit
|
||||
install -p -m 644 40-usb_modeswitch.rules $RPM_BUILD_ROOT%{_udevrulesdir}
|
||||
|
||||
%post
|
||||
udevadm control --reload-rules || :
|
||||
%udev_rules_update
|
||||
|
||||
%postun
|
||||
udevadm control --reload-rules || :
|
||||
%udev_rules_update
|
||||
|
||||
%files
|
||||
%{_udevrulesdir}/40-usb_modeswitch.rules
|
||||
|
Loading…
Reference in New Issue
Block a user