From: Andrea Bolognani Date: Mon, 5 Oct 2020 16:28:26 +0000 (+0200) Subject: spec: Simplify setting features off by default X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=31d687a3218c9072d7050dd608e013e063ca180f;p=libvirt.git spec: Simplify setting features off by default The right-hand side of these expressions will always evaluate to zero. Stop obfuscating this fact. Signed-off-by: Andrea Bolognani Reviewed-by: Neal Gompa --- diff --git a/libvirt.spec.in b/libvirt.spec.in index ee5bfb8123..618b289bc9 100644 --- a/libvirt.spec.in +++ b/libvirt.spec.in @@ -85,15 +85,15 @@ %endif # 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 0%{!?_without_firewalld:0} -%define with_firewalld_zone 0%{!?_without_firewalld_zone:0} -%define with_libssh2 0%{!?_without_libssh2:0} -%define with_wireshark 0%{!?_without_wireshark:0} -%define with_libssh 0%{!?_without_libssh:0} -%define with_bash_completion 0%{!?_without_bash_completion:0} +%define with_fuse 0 +%define with_sanlock 0 +%define with_numad 0 +%define with_firewalld 0 +%define with_firewalld_zone 0 +%define with_libssh2 0 +%define with_wireshark 0 +%define with_libssh 0 +%define with_bash_completion 0 # Finally set the OS / architecture specific special cases