public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/kf5-akonadi-server] rawhide: Use '-any' virtual provides for MariaDB/MySQL dependencies
@ 2026-06-30  8:47 Michal Schorm
  0 siblings, 0 replies; only message in thread
From: Michal Schorm @ 2026-06-30  8:47 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/kf5-akonadi-server
            Branch : rawhide
            Commit : 8506932c6c694f9c14677d96d4889329de3652a4
            Author : Michal Schorm <mschorm@redhat.com>
            Date   : 2026-06-29T19:26:20+02:00
            Stats  : +3/-1 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/kf5-akonadi-server/c/8506932c6c694f9c14677d96d4889329de3652a4?branch=rawhide

            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#2494548

Co-Authored-By: Claude AI <noreply@anthropic.com>

---
diff --git a/kf5-akonadi-server.spec b/kf5-akonadi-server.spec
index 9a7969f..0ec76b7 100644
--- a/kf5-akonadi-server.spec
+++ b/kf5-akonadi-server.spec
@@ -147,9 +147,11 @@ Obsoletes:      akonadi < 1.7.90-2
 Obsoletes:      akonadi-mysql < 15.08.0
 Provides:       akonadi-mysql = %{version}-%{release}
 Requires:       %{name}%{?_isa} = %{version}-%{release}
-Requires:       %{mysql}-server
+Requires:       %{mysql}-server-any
 %if "%{?mysql}" != "mariadb" && 0%{?fedora} > 20
 Recommends:     mariadb-server
+%else
+Recommends:     %{mysql}-server
 %endif
 Requires:       qt5-qtbase-mysql%{?_isa}
 Requires(post): /usr/sbin/update-alternatives

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-30  8:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-30  8:47 [rpms/kf5-akonadi-server] rawhide: 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