Accepting request 427728 from hardware
1 OBS-URL: https://build.opensuse.org/request/show/427728 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/usb_modeswitch?expand=0&rev=39
This commit is contained in:
commit
8ff3fe489b
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 13 16:04:56 UTC 2016 - stefan.bruens@rwth-aachen.de
|
||||
|
||||
- Avoid a race in make install, which lead to packaging a truncated
|
||||
usb_modeswitch_dispatcher script. Fixes boo#998641
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Aug 20 17:25:12 UTC 2016 - stefan.bruens@rwth-aachen.de
|
||||
|
||||
|
@ -65,8 +65,11 @@ cp %{SOURCE2} .
|
||||
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} usb_modeswitch@.service
|
||||
|
||||
cd %{source_name}-data-%{date}
|
||||
make DESTDIR=%{buildroot} install %{?_smp_mflags} RULESDIR=%{buildroot}%{_udevdir}/rules.d
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user