From 04529e24b2aa0258ee03985bf28ff3a0a5e0ee99 Mon Sep 17 00:00:00 2001 From: Lukas Javorsky Date: Feb 06 2024 09:52:41 +0000 Subject: Change the bcod_with/out conditions to new bcond 1/0 --- diff --git a/community-mysql.spec b/community-mysql.spec index fa2c42a..814f213 100644 --- a/community-mysql.spec +++ b/community-mysql.spec @@ -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