[usbip] Fix datadir and client service type

Jonathan Dieter jdieter at fedoraproject.org
Thu Feb 5 18:50:07 UTC 2015


commit 36b3d96bdbb80950a9cde93c36118cd143ac495e
Author: Jonathan Dieter <jdieter at lesbg.com>
Date:   Thu Feb 5 20:49:50 2015 +0200

    Fix datadir and client service type
    
    Signed-off-by: Jonathan Dieter <jdieter at lesbg.com>

 .gitignore           |    1 +
 usbip-client.service |    2 +-
 usbip.spec           |    8 ++++++--
 3 files changed, 8 insertions(+), 3 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 4266f0a..729c06c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
+/usbip-3.17.tar.xz
 /usbip-3.18.tar.xz
diff --git a/usbip-client.service b/usbip-client.service
index 2562e7b..b10b74b 100644
--- a/usbip-client.service
+++ b/usbip-client.service
@@ -2,7 +2,7 @@
 Description=USB/IP client modules
 
 [Service]
-Type=OneShot
+Type=oneshot
 RemainAfterExit=true
 ExecStart=/sbin/modprobe -qab vhci-hcd
 
diff --git a/usbip.spec b/usbip.spec
index bfe274c..16ea3e2 100644
--- a/usbip.spec
+++ b/usbip.spec
@@ -5,7 +5,7 @@ License:	GPLv2+
 Summary:	USB/IP user-space
 Group:		System Environment/Daemons
 Version:	3.18
-Release:	3%{?dist}
+Release:	4%{?dist}
 #Source:	https://www.kernel.org/pub/linux/kernel/v3.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>`
@@ -51,7 +51,7 @@ development
 
 %build
 ./autogen.sh
-%configure --disable-static --with-usbids-dir=%{_datadir}hwdata
+%configure --disable-static --with-usbids-dir=%{_datadir}/hwdata
 make %{?_smp_mflags}
 
 %install
@@ -86,6 +86,10 @@ install -pm 644 %{SOURCE2} %{buildroot}%{_unitdir}
 %{_libdir}/*.so
 
 %changelog
+* Thu Feb  5 2015 - Jonathan Dieter <jdieter at lesbg.com> - 3.18-4
+- Fix datadir (#1189855)
+- Fix client service type
+
 * Thu Jan 15 2015 - Jonathan Dieter <jdieter at lesbg.com> - 3.18-3
 - Improve description
 


More information about the scm-commits mailing list