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

            A new commit has been pushed.

            Repo   : rpms/perl-DBD-MariaDB
            Branch : rawhide
            Commit : 4e1636f1035f14c132b45653419dd7c0630f8d74
            Author : Michal Schorm <mschorm@redhat.com>
            Date   : 2026-07-29T08:51:42+00:00
            Stats  : +4/-2 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/perl-DBD-MariaDB/c/4e1636f1035f14c132b45653419dd7c0630f8d74?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#2494525

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

---
diff --git a/perl-DBD-MariaDB.spec b/perl-DBD-MariaDB.spec
index 171b997..5262c07 100644
--- a/perl-DBD-MariaDB.spec
+++ b/perl-DBD-MariaDB.spec
@@ -86,8 +86,10 @@ Summary:        Tests for %{name}
 Requires:       %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
 Requires:       perl-Test-Harness
 Requires:       hostname
-Requires:       mariadb
-Requires:       mariadb-server
+Requires:       mariadb-any
+Recommends:     mariadb
+Requires:       mariadb-server-any
+Recommends:     mariadb-server
 # Required to process t/testrules.yml
 Requires:       perl(CPAN::Meta::YAML)
 # Optional tests

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

only message in thread, other threads:[~2026-07-29 10:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-29 10:10 [rpms/perl-DBD-MariaDB] 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