[packages/qemu] 'without smartcard' bcond fix
jajcus
jajcus at pld-linux.org
Thu Apr 10 19:36:35 CEST 2014
commit 471d127650488c62e0beb748473537c900308c09
Author: Jacek Konieczny <j.konieczny at eggsoft.pl>
Date: Thu Apr 10 19:36:02 2014 +0200
'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}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/qemu.git/commitdiff/471d127650488c62e0beb748473537c900308c09
More information about the pld-cvs-commit
mailing list