Description of problem: ..though with --without seccomp seems like in dobuild() macro adding this in line 591 %else --disable-seccomp \ fixes the problem, there is probably better way? to fix it, could be that relevant conditional macros' logic is broken? Version-Release number of selected component (if applicable): qemu-1.2.2-14.fc18.src.rpm How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
Despite the use of bcond here, those conditionals weren't really meant for rpmbuild use, more to encode defaults per architecture. I pushed this to rawhide which should fix the report: commit e65bbe3b55f554a20718bae27903fd0f85559d4c Author: Cole Robinson <crobinso> Date: Mon Jan 6 12:34:57 2014 -0500 spec: Fix some --without conditionals (bz 1048476) diff --git a/qemu.spec b/qemu.spec index f6c9593..c5bf93a 100644 --- a/qemu.spec +++ b/qemu.spec @@ -795,9 +795,13 @@ dobuild() { --enable-tpm \ %if 0%{?have_spice:1} --enable-spice \ +%else + --disable-spice \ %endif %if 0%{?have_seccomp:1} --enable-seccomp \ +%else + --disable-seccomp \ %endif %if %{without rbd} --disable-rbd \ But a larger cleanup is likely needed to make this stuff more clear. But this bug is pretty minor, and anyone that is motivated to pull down an srpm and pass custom build flags should be able to edit the spec to fit their needs, so just closing as RAWHIDE