public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Michal Schorm <mschorm@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/akonadi-server] rawhide: Use '-any' virtual provides for MariaDB/MySQL dependencies
Date: Tue, 30 Jun 2026 13:32:18 GMT	[thread overview]
Message-ID: <178282633888.1.16902274436976240466.rpms-akonadi-server-8bdc6d118747@fedoraproject.org> (raw)

            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

                 reply	other threads:[~2026-06-30 13:32 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178282633888.1.16902274436976240466.rpms-akonadi-server-8bdc6d118747@fedoraproject.org \
    --to=mschorm@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox