public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/mysqltuner] f44: Use '-any' virtual provides for MariaDB/MySQL dependencies
@ 2026-07-04 18:08 Michal Schorm
0 siblings, 0 replies; only message in thread
From: Michal Schorm @ 2026-07-04 18:08 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/mysqltuner
Branch : f44
Commit : 78f77380d8e5c148d25bca65554d9329b04c5ff7
Author : Michal Schorm <mschorm@redhat.com>
Date : 2026-07-03T13:39:15+02:00
Stats : +5/-1 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/mysqltuner/c/78f77380d8e5c148d25bca65554d9329b04c5ff7?branch=f44
Log:
Use '-any' virtual provides for MariaDB/MySQL dependencies
Use the '-any' virtual provides (e.g., 'mariadb-server-any') for
MariaDB/MySQL dependencies instead of unversioned package names.
This allows non-default DB streams (e.g., 'mariadb11.8', 'mysql8.0')
to satisfy the dependency, since they provide '*-any' but not the
bare unversioned names.
Add 'Recommends' for the unversioned names to prefer the distribution
default DB version when no specific version is already installed.
Resolves: rhbz#2494542
Co-Authored-By: Claude AI <noreply@anthropic.com>
---
diff --git a/mysqltuner.spec b/mysqltuner.spec
index 20cc90c..8a98d91 100644
--- a/mysqltuner.spec
+++ b/mysqltuner.spec
@@ -15,8 +15,12 @@ BuildArch: noarch
BuildRequires: perl-generators
Requires: which
+# RHBZ 2494542 - use '-any' provides to accept non-default DB streams
+%if 0%{?fedora} || 0%{?rhel} >= 10
+Requires: (mysql-any or mariadb-any)
+Recommends: (mysql or mariadb)
# RHBZ 1838780 - mariadb lacks mysql provides on el8
-%if 0%{?fedora} || 0%{?rhel} >= 8
+%elif 0%{?rhel} >= 8
Requires: (mysql or mariadb)
%else
Requires: mysql
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-07-04 18:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-04 18:08 [rpms/mysqltuner] f44: Use '-any' virtual provides for MariaDB/MySQL dependencies Michal Schorm
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox