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

            A new commit has been pushed.

            Repo   : rpms/akonadi-server
            Branch : rawhide
            Commit : 8bdc6d118747eed79d7b4b3b4a15de06a82afeb4
            Author : Michal Schorm <mschorm@redhat.com>
            Date   : 2026-06-29T19:26:20+02:00
            Stats  : +2/-1 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/akonadi-server/c/8bdc6d118747eed79d7b4b3b4a15de06a82afeb4?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#2494529

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

---
diff --git a/akonadi-server.spec b/akonadi-server.spec
index 6e22a92..e87e3e8 100644
--- a/akonadi-server.spec
+++ b/akonadi-server.spec
@@ -102,7 +102,8 @@ Summary:        Akonadi MySQL backend support
 # upgrade path
 Obsoletes:      kf5-akonadi-server-mysql < 24.01.80-1
 Requires:       %{name}%{?_isa} = %{version}-%{release}
-Requires:       mariadb-server
+Requires:       mariadb-server-any
+Recommends:     mariadb-server
 Requires:       qt6-qtbase-mysql%{?_isa}
 Requires(post): /usr/sbin/update-alternatives
 Requires(postun): /usr/sbin/update-alternatives

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

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

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