Hello community, here is the log from the commit of package usb_modeswitch for openSUSE:Factory checked in at 2016-09-17 14:38:04 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 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-29 14:28:21.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.usb_modeswitch.new/usb_modeswitch.changes 2016-09-17 14:38:07.000000000 +0200 @@ -1,0 +2,6 @@ +Tue Sep 13 16:04:56 UTC 2016 - [email protected] + +- Avoid a race in make install, which lead to packaging a truncated + usb_modeswitch_dispatcher script. Fixes boo#998641 + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ usb_modeswitch.spec ++++++ --- /var/tmp/diff_new_pack.DGOitI/_old 2016-09-17 14:38:08.000000000 +0200 +++ /var/tmp/diff_new_pack.DGOitI/_new 2016-09-17 14:38:08.000000000 +0200 @@ -65,8 +65,11 @@ CFLAGS="%{optflags}" make %install -make DESTDIR=%{buildroot} install %{?_smp_mflags} UDEVDIR=%{buildroot}%{_udevdir} +# The install target recreates usb_modeswitch_dispatcher, which is racy in respect to its +# installation. install-common just uses the file from the build phase. boo#998641 +make DESTDIR=%{buildroot} install-common %{?_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
