peterdelevoryas / rpms / qemu

Forked from rpms/qemu 2 years ago
Clone

2f5a0e qemu: Fix building without usbredir

1 file Authored by Ruben Kerkhof 10 years ago, Committed by rjones@redhat.com 10 years ago,
1 file changed. 1 lines added. 1 lines removed.
    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.
    
        
file modified
+1 -1
qemu.spec CHANGED
@@ -215,7 +215,7 @@ BuildRequires: pulseaudio-libs-devel
215
215
BuildRequires: libiscsi-devel
216
216
BuildRequires: ncurses-devel
217
217
BuildRequires: libattr-devel
218
- %if 0%{?have_usbredir:1}
218
+ %if 0%{?have_usbredir}
219
219
BuildRequires: usbredir-devel >= 0.5.2
220
220
%endif
221
221
BuildRequires: texinfo