]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
Revert "Revert "spec: Simplify setting features off by default""
authorAndrea Bolognani <abologna@redhat.com>
Thu, 29 Oct 2020 10:00:37 +0000 (11:00 +0100)
committerAndrea Bolognani <abologna@redhat.com>
Fri, 6 Nov 2020 14:19:21 +0000 (15:19 +0100)
As explained in the original commit (31d687a3218c), these values
are actually unaffected by the corresponding _without_* macros
and so we can leave out the additional processing / obfuscation.

This reverts commit ae23a87d85cfc2a964123d9bd44157a411428c0a.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Martin Kletzander <mkletzan@redhat.com>
libvirt.spec.in

index 06afd0dab89bc29f424ab2043d0c115ff09eeff1..0dbc040a7e03f3328301182c12b866c086f9ffe5 100644 (file)
 %define with_numactl          0%{!?_without_numactl:1}
 
 # A few optional bits off by default, we enable later
-%define with_fuse             0%{!?_without_fuse:0}
-%define with_sanlock          0%{!?_without_sanlock:0}
-%define with_numad            0%{!?_without_numad:0}
-%define with_firewalld_zone   0%{!?_without_firewalld:0}
-%define with_libssh2          0%{!?_without_libssh2:0}
-%define with_wireshark        0%{!?_without_wireshark:0}
-%define with_libssh           0%{!?_without_libssh:0}
-%define with_dmidecode        0%{!?_without_dmidecode:0}
+%define with_fuse             0
+%define with_sanlock          0
+%define with_numad            0
+%define with_firewalld_zone   0
+%define with_libssh2          0
+%define with_wireshark        0
+%define with_libssh           0
+%define with_dmidecode        0
 
 # Finally set the OS / architecture specific special cases