Hello community,

here is the log from the commit of package usb_modeswitch for openSUSE:Factory 
checked in at 2016-08-29 14:28:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/usb_modeswitch (Old)
 and      /work/SRC/openSUSE:Factory/.usb_modeswitch.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "usb_modeswitch"

Changes:
--------
--- /work/SRC/openSUSE:Factory/usb_modeswitch/usb_modeswitch.changes    
2016-08-06 20:37:57.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.usb_modeswitch.new/usb_modeswitch.changes       
2016-08-29 14:28:21.000000000 +0200
@@ -1,0 +2,5 @@
+Sat Aug 20 17:25:12 UTC 2016 - [email protected]
+
+- Install required [email protected], fixes boo#994763
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ usb_modeswitch.spec ++++++
--- /var/tmp/diff_new_pack.9WEMk0/_old  2016-08-29 14:28:23.000000000 +0200
+++ /var/tmp/diff_new_pack.9WEMk0/_new  2016-08-29 14:28:23.000000000 +0200
@@ -66,17 +66,31 @@
 
 %install
 make DESTDIR=%{buildroot} install %{?_smp_mflags} 
UDEVDIR=%{buildroot}%{_udevdir}
+install --mode=444 -D -t %{buildroot}%{_unitdir} [email protected]
 cd %{source_name}-data-%{date}
 make DESTDIR=%{buildroot} install %{?_smp_mflags} 
RULESDIR=%{buildroot}%{_udevdir}/rules.d
 
 %fdupes -s %{buildroot}
 
+%pre
+%service_add_pre [email protected]
+
+%post
+%service_add_post [email protected]
+
+%preun
+%service_del_preun [email protected]
+
+%postun
+%service_del_postun [email protected]
+
 %files
 %defattr(-,root,root,-)
 %doc README COPYING device_reference.txt
 %{_sbindir}/usb_modeswitch
 %{_sbindir}/usb_modeswitch_dispatcher
 %{_udevdir}/usb_modeswitch
+%{_unitdir}/[email protected]
 %{_localstatedir}/lib/usb_modeswitch
 %config %{_sysconfdir}/usb_modeswitch.conf
 %{_mandir}/man1/usb_modeswitch.1.gz


Reply via email to