forked from pool/usb_modeswitch
Accepting request 437664 from home:enzokiel:branches:hardware
- Update usb-modeswitch-data package to version 20160803. - Added systemd as BuildRequires and fixed install of service file. OBS-URL: https://build.opensuse.org/request/show/437664 OBS-URL: https://build.opensuse.org/package/show/hardware/usb_modeswitch?expand=0&rev=73
This commit is contained in:
parent
19f328026c
commit
128c91e74c
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9c99c03a126ae98b373bacc8e78be6b88ee33e9439291fa59477a866832f6914
|
||||
size 30788
|
3
usb-modeswitch-data-20160803.tar.bz2
Normal file
3
usb-modeswitch-data-20160803.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:83f4a277c6e34b8537740ae16bf9275008f7bf3f326134e0f846656a61a756fe
|
||||
size 31943
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 28 14:33:42 UTC 2016 - joerg.lorenzen@ki.tng.de
|
||||
|
||||
- Update usb-modeswitch-data package to version 20160803.
|
||||
- Added systemd as BuildRequires and fixed install of service file.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 13 16:04:56 UTC 2016 - stefan.bruens@rwth-aachen.de
|
||||
|
||||
|
@ -17,7 +17,7 @@
|
||||
|
||||
|
||||
%define source_name usb-modeswitch
|
||||
%define date 20160612
|
||||
%define date 20160803
|
||||
%define _udevdir %(pkg-config --variable=udevdir udev)
|
||||
Name: usb_modeswitch
|
||||
Version: 2.4.0
|
||||
@ -35,6 +35,8 @@ BuildRequires: pkg-config
|
||||
BuildRequires: tcl
|
||||
BuildRequires: pkgconfig(libusb-1.0)
|
||||
BuildRequires: pkgconfig(udev)
|
||||
BuildRequires: systemd
|
||||
%{?systemd_requires}
|
||||
Requires: tcl >= 8.4
|
||||
Requires: usb_modeswitch-data = %{version}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
@ -68,7 +70,7 @@ CFLAGS="%{optflags}" make
|
||||
# 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
|
||||
install -Dm 444 usb_modeswitch@.service %{buildroot}%{_unitdir}/usb_modeswitch@.service
|
||||
|
||||
cd %{source_name}-data-%{date}
|
||||
make DESTDIR=%{buildroot} install %{?_smp_mflags} RULESDIR=%{buildroot}%{_udevdir}/rules.d
|
||||
|
Loading…
x
Reference in New Issue
Block a user