From 471d127650488c62e0beb748473537c900308c09 Mon Sep 17 00:00:00 2001 From: Jacek Konieczny Date: Thu, 10 Apr 2014 19:36:02 +0200 Subject: [PATCH] 'without smartcard' bcond fix --- qemu.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/qemu.spec b/qemu.spec index 825f644..3437652 100644 --- a/qemu.spec +++ b/qemu.spec @@ -659,7 +659,8 @@ ln -s ../error.h qapi/error.h # --libexecdir in configure is nop %{__make} \ V=1 \ - CONFIG_QEMU_HELPERDIR="%{_libdir}" + CONFIG_QEMU_HELPERDIR="%{_libdir}" \ + %{!?with_smartcard:CONFIG_USB_SMARTCARD=n} # rebuild patched vesa tables with additional widescreen modes. %{__make} -C roms/vgabios stdvga-bios @@ -673,6 +674,7 @@ install -d $RPM_BUILD_ROOT{%{systemdunitdir},/usr/lib/binfmt.d} \ $RPM_BUILD_ROOT{%{_sysconfdir}/sasl,%{_sbindir}} %{__make} install \ + %{!?with_smartcard:CONFIG_USB_SMARTCARD=n} \ DESTDIR=$RPM_BUILD_ROOT \ libexecdir=%{_libdir} -- 2.43.0