diff --git a/qemu.changes b/qemu.changes index 3ae2a022..68dd035e 100644 --- a/qemu.changes +++ b/qemu.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Feb 18 16:06:00 UTC 2014 - brogers@suse.com + +- enable usb passthrough via --enable-libusb config option + ------------------------------------------------------------------- Sat Feb 15 15:46:54 UTC 2014 - brogers@suse.com diff --git a/qemu.spec b/qemu.spec index f384981d..978c7634 100644 --- a/qemu.spec +++ b/qemu.spec @@ -131,6 +131,9 @@ BuildRequires: libpcap-devel BuildRequires: libpixman-1-0-devel BuildRequires: libpng-devel BuildRequires: libpulse-devel +%if 0%{?suse_version} > 1310 +BuildRequires: libusb +%endif BuildRequires: libvdeplug3-devel %if 0%{?suse_version} > 1220 BuildRequires: makeinfo @@ -390,6 +393,9 @@ done %else --disable-spice \ %endif +%if 0%{?suse_version} > 1310 + --enable-libusb \ +%endif %if 0%{?sles_version} != 11 --enable-usb-redir \ %endif diff --git a/qemu.spec.in b/qemu.spec.in index 5a1ae66a..f93cc4c3 100644 --- a/qemu.spec.in +++ b/qemu.spec.in @@ -90,6 +90,9 @@ BuildRequires: libpcap-devel BuildRequires: libpixman-1-0-devel BuildRequires: libpng-devel BuildRequires: libpulse-devel +%if 0%{?suse_version} > 1310 +BuildRequires: libusb +%endif BuildRequires: libvdeplug3-devel %if 0%{?suse_version} > 1220 BuildRequires: makeinfo @@ -308,6 +311,9 @@ done %else --disable-spice \ %endif +%if 0%{?suse_version} > 1310 + --enable-libusb \ +%endif %if 0%{?sles_version} != 11 --enable-usb-redir \ %endif