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 <abologna@redhat.com>
Reviewed-by: Neal Gompa <ngompa13@gmail.com>
This commit is contained in:
Andrea Bolognani 2020-10-05 18:28:26 +02:00
parent 67f08376fd
commit 31d687a321
1 changed files with 9 additions and 9 deletions

View File

@ -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