Accepting request 121127 from home:a_faerber:branches:Virtualization

Drop hacks for enabling cURL support and use --enable-curl to force detection problems to fail the build. If there's some problem for someone it needs to be fixed upstream, not papered over.

OBS-URL: https://build.opensuse.org/request/show/121127
OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=67
This commit is contained in:
Andreas Färber 2012-05-16 02:54:04 +00:00 committed by Git OBS Bridge
parent 82ccdc395e
commit 639e75ae74
3 changed files with 6 additions and 8 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed May 16 01:29:02 UTC 2012 - afaerber@suse.de
- Remove workaround for forcing cURL detection
-------------------------------------------------------------------
Sun May 13 15:39:12 UTC 2012 - afaerber@suse.de

View File

@ -142,6 +142,7 @@ mkdir -p dynamic
--audio-card-list="ac97 es1370 sb16 cs4231a adlib gus" \
--audio-drv-list="alsa sdl" --enable-mixemu --enable-vde \
--extra-cflags="$QEMU_OPT_FLAGS" --enable-system --disable-linux-user \
--enable-curl \
%if 0%{?suse_version} >= 1130
%ifarch %ix86 x86_64
--enable-spice
@ -151,10 +152,6 @@ mkdir -p dynamic
%else
--disable-spice
%endif
# curl test fails for no reason in build system
echo "CONFIG_CURL=y" >> config-host.mak
echo "CURL_LIBS=-lcurl" >> config-host.mak
echo "#define CONFIG_CURL 1" >> config-host.h
make %{?jobs:-j%jobs} V=1
make qemu-img V=1
mv *-softmmu/qemu-system-* qemu-io qemu-bridge-helper dynamic || true

View File

@ -115,10 +115,6 @@ mkdir -p dynamic
%else
--disable-spice
%endif
# curl test fails for no reason in build system
echo "CONFIG_CURL=y" >> config-host.mak
echo "CURL_LIBS=-lcurl" >> config-host.mak
echo "#define CONFIG_CURL 1" >> config-host.h
make %{?jobs:-j%jobs} V=1
make qemu-img V=1
mv *-softmmu/qemu-system-* qemu-io qemu-bridge-helper dynamic || true