]> xenbits.xensource.com Git - libvirt.git/commitdiff
spec: Simplify setting features off by default
authorAndrea Bolognani <abologna@redhat.com>
Mon, 5 Oct 2020 16:28:26 +0000 (18:28 +0200)
committerAndrea Bolognani <abologna@redhat.com>
Fri, 9 Oct 2020 12:34:12 +0000 (14:34 +0200)
The right-hand side of these expressions will always evaluate to
zero. Stop obfuscating this fact.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Neal Gompa <ngompa13@gmail.com>
libvirt.spec.in

index ee5bfb8123992c1fac86396221336e8e111e54e0..618b289bc99364989849b40dad786671f9f9942b 100644 (file)
 %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