Accepting request 421464 from hardware
1 OBS-URL: https://build.opensuse.org/request/show/421464 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/usb_modeswitch?expand=0&rev=38
This commit is contained in:
commit
6e069523c2
@ -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
|
Fri Jul 29 13:55:21 UTC 2016 - joerg.lorenzen@ki.tng.de
|
||||||
|
|
||||||
|
@ -66,17 +66,31 @@ CFLAGS="%{optflags}" make
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
make DESTDIR=%{buildroot} install %{?_smp_mflags} UDEVDIR=%{buildroot}%{_udevdir}
|
make DESTDIR=%{buildroot} install %{?_smp_mflags} UDEVDIR=%{buildroot}%{_udevdir}
|
||||||
|
install --mode=444 -D -t %{buildroot}%{_unitdir} usb_modeswitch@.service
|
||||||
cd %{source_name}-data-%{date}
|
cd %{source_name}-data-%{date}
|
||||||
make DESTDIR=%{buildroot} install %{?_smp_mflags} RULESDIR=%{buildroot}%{_udevdir}/rules.d
|
make DESTDIR=%{buildroot} install %{?_smp_mflags} RULESDIR=%{buildroot}%{_udevdir}/rules.d
|
||||||
|
|
||||||
%fdupes -s %{buildroot}
|
%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
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc README COPYING device_reference.txt
|
%doc README COPYING device_reference.txt
|
||||||
%{_sbindir}/usb_modeswitch
|
%{_sbindir}/usb_modeswitch
|
||||||
%{_sbindir}/usb_modeswitch_dispatcher
|
%{_sbindir}/usb_modeswitch_dispatcher
|
||||||
%{_udevdir}/usb_modeswitch
|
%{_udevdir}/usb_modeswitch
|
||||||
|
%{_unitdir}/usb_modeswitch@.service
|
||||||
%{_localstatedir}/lib/usb_modeswitch
|
%{_localstatedir}/lib/usb_modeswitch
|
||||||
%config %{_sysconfdir}/usb_modeswitch.conf
|
%config %{_sysconfdir}/usb_modeswitch.conf
|
||||||
%{_mandir}/man1/usb_modeswitch.1.gz
|
%{_mandir}/man1/usb_modeswitch.1.gz
|
||||||
|
Loading…
Reference in New Issue
Block a user