qemu: Fix building without usbredir

The comparison checks if have_usbredir is defined, which it always is.
Check if it's defined and set to 1 instead.
This commit is contained in:
Ruben Kerkhof 2014-09-15 11:26:09 +02:00 committed by Richard W.M. Jones
parent 723d95470d
commit 2f5a0ef6e6

View File

@ -215,7 +215,7 @@ BuildRequires: pulseaudio-libs-devel
BuildRequires: libiscsi-devel
BuildRequires: ncurses-devel
BuildRequires: libattr-devel
%if 0%{?have_usbredir:1}
%if 0%{?have_usbredir}
BuildRequires: usbredir-devel >= 0.5.2
%endif
BuildRequires: texinfo