Change the bcod_with/out conditions to new bcond 1/0

This commit is contained in:
Lukas Javorsky 2024-01-26 12:13:21 +00:00
parent 068e37f35d
commit 04529e24b2

View File

@ -27,23 +27,23 @@
# For some use cases we do not need some parts of the package
%bcond_without clibrary
%bcond_without devel
%bcond_without client
%bcond_without common
%bcond_without errmsg
%bcond_without test
%bcond clibrary 1
%bcond devel 1
%bcond client 1
%bcond common 1
%bcond errmsg 1
%bcond test 1
# When there is already another package that ships /etc/my.cnf,
# rather include it than ship the file again, since conflicts between
# those files may create issues
%bcond_with config
%bcond config 0
# For deep debugging we need to build binaries with extra debug info
%bcond_with debug
%bcond debug 0
# Aditional SELinux rules from a standalone package 'mysql-selinux' (that holds rules shared between MariaDB and MySQL)
%bcond_without require_mysql_selinux
%bcond require_mysql_selinux 1
# Include files for systemd
@ -62,13 +62,13 @@
# Set explicit conflicts with 'mariadb' packages
%bcond_without conflicts_mariadb
%bcond conflicts_mariadb 1
# Provide explicitly the 'community-mysql' names
# 'community-mysql' names are deprecated and to be removed in future Fedora
# but we're leaving them here for compatibility reasons
%bcond_without provides_community_mysql
%bcond provides_community_mysql 1
# Obsolete the package 'community-mysql' and all its sub-packages
%bcond_without obsoletes_community_mysql
%bcond obsoletes_community_mysql 1
# This is the last version of the 'community-mysql' package production release
%global obsolete_community_mysql_version 8.0.35-1