|
|
|
@ -4,7 +4,7 @@ Name: usbip
|
|
|
|
|
License: GPLv2+
|
|
|
|
|
Summary: USB/IP user-space
|
|
|
|
|
Version: 4.15.10
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
#Source: https://www.kernel.org/pub/linux/kernel/v4.x/linux-%%{version}.tar.xz
|
|
|
|
|
# In the interests of keeping the source rpm from being ridiculously large,
|
|
|
|
|
# download the Linux kernel from above and run `extract_usbip.sh <version>`
|
|
|
|
@ -66,14 +66,12 @@ install -pm 644 %{SOURCE2} %{buildroot}%{_unitdir}
|
|
|
|
|
|
|
|
|
|
%post
|
|
|
|
|
%systemd_post usbip-client.service usbip-server.service
|
|
|
|
|
/sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
%preun
|
|
|
|
|
%systemd_preun usbip-client.service usbip-server.service
|
|
|
|
|
|
|
|
|
|
%postun
|
|
|
|
|
%systemd_postun_with_restart usbip-client.service usbip-server.service
|
|
|
|
|
/sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%license COPYING
|
|
|
|
@ -89,6 +87,9 @@ install -pm 644 %{SOURCE2} %{buildroot}%{_unitdir}
|
|
|
|
|
%{_libdir}/*.so
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Thu Jun 28 2018 Jonathan Dieter <jdieter@gmail.com> - 4.15.10-2
|
|
|
|
|
- Remove unneeded ldconfig scriptlets
|
|
|
|
|
|
|
|
|
|
* Thu Mar 15 2018 Jonathan Dieter <jdieter@gmail.com> - 4.15.10-1
|
|
|
|
|
- Attempt another build after supposed failure the last time
|
|
|
|
|
- Update to 4.15.10 to fix GCC 8 build failure
|
|
|
|
|