Accepting request 420710 from home:StefanBruens:branches:hardware
OBS-URL: https://build.opensuse.org/request/show/420710 OBS-URL: https://build.opensuse.org/package/show/hardware/usb_modeswitch?expand=0&rev=71
This commit is contained in:
parent
820c4c01ac
commit
2e80dab521
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Aug 20 17:25:12 UTC 2016 - stefan.bruens@rwth-aachen.de
|
||||
|
||||
- Install required usb_modeswitch@.service, fixes boo#994763
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 29 13:55:21 UTC 2016 - joerg.lorenzen@ki.tng.de
|
||||
|
||||
|
@ -66,17 +66,31 @@ CFLAGS="%{optflags}" make
|
||||
|
||||
%install
|
||||
make DESTDIR=%{buildroot} install %{?_smp_mflags} UDEVDIR=%{buildroot}%{_udevdir}
|
||||
install --mode=444 -D -t %{buildroot}%{_unitdir} usb_modeswitch@.service
|
||||
cd %{source_name}-data-%{date}
|
||||
make DESTDIR=%{buildroot} install %{?_smp_mflags} RULESDIR=%{buildroot}%{_udevdir}/rules.d
|
||||
|
||||
%fdupes -s %{buildroot}
|
||||
|
||||
%pre
|
||||
%service_add_pre usb_modeswitch@.service
|
||||
|
||||
%post
|
||||
%service_add_post usb_modeswitch@.service
|
||||
|
||||
%preun
|
||||
%service_del_preun usb_modeswitch@.service
|
||||
|
||||
%postun
|
||||
%service_del_postun usb_modeswitch@.service
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc README COPYING device_reference.txt
|
||||
%{_sbindir}/usb_modeswitch
|
||||
%{_sbindir}/usb_modeswitch_dispatcher
|
||||
%{_udevdir}/usb_modeswitch
|
||||
%{_unitdir}/usb_modeswitch@.service
|
||||
%{_localstatedir}/lib/usb_modeswitch
|
||||
%config %{_sysconfdir}/usb_modeswitch.conf
|
||||
%{_mandir}/man1/usb_modeswitch.1.gz
|
||||
|
Loading…
Reference in New Issue
Block a user