Drop obsolete conditionals

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2019-08-04 07:32:07 +02:00
parent a7135d2877
commit 798b574046
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

View File

@ -1,35 +1,15 @@
%global libname solv %global libname solv
%if (0%{?rhel} && 0%{?rhel} <= 7) || (0%{?fedora} && 0%{?fedora} <= 29)
%bcond_without python2_bindings
%else
%bcond_with python2_bindings %bcond_with python2_bindings
%endif
%if 0%{?rhel} && 0%{?rhel} <= 7
%bcond_with perl_bindings
%bcond_with ruby_bindings
%bcond_with python3_bindings
%else
%bcond_without perl_bindings %bcond_without perl_bindings
%bcond_without ruby_bindings %bcond_without ruby_bindings
%bcond_without python3_bindings %bcond_without python3_bindings
%endif
# Creates special prefixed pseudo-packages from appdata metadata # Creates special prefixed pseudo-packages from appdata metadata
%bcond_without appdata %bcond_without appdata
# Creates special prefixed "group:", "category:" pseudo-packages # Creates special prefixed "group:", "category:" pseudo-packages
%bcond_without comps %bcond_without comps
# For rich dependencies # For rich dependencies
%bcond_without complex_deps %bcond_without complex_deps
%if 0%{?rhel}
%bcond_with helix_repo
%bcond_with suse_repo
%bcond_with debian_repo
%bcond_with arch_repo
# For handling deb + rpm at the same time
%bcond_with multi_semantics
%bcond_with zchunk
%bcond_with zstd
%else
%bcond_without helix_repo %bcond_without helix_repo
%bcond_without suse_repo %bcond_without suse_repo
%bcond_without debian_repo %bcond_without debian_repo
@ -38,7 +18,6 @@
%bcond_without multi_semantics %bcond_without multi_semantics
%bcond_without zchunk %bcond_without zchunk
%bcond_without zstd %bcond_without zstd
%endif
Name: lib%{libname} Name: lib%{libname}
Version: 0.7.5 Version: 0.7.5