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

            A new commit has been pushed.

            Repo   : rpms/cqrlog
            Branch : f44
            Commit : d3a04686bec0e54523236840f0ee7017a4ff1ddd
            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/cqrlog/c/d3a04686bec0e54523236840f0ee7017a4ff1ddd?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#2494535

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

---
diff --git a/cqrlog.spec b/cqrlog.spec
index eb42f61..1bb9599 100644
--- a/cqrlog.spec
+++ b/cqrlog.spec
@@ -23,7 +23,8 @@ BuildRequires:	lazarus >= 1.8
 BuildRequires:  libappstream-glib
 BuildRequires:  make
 
-Requires:	mariadb-server
+Requires:	mariadb-server-any
+Recommends:	mariadb-server
 # https://bugzilla.redhat.com/show_bug.cgi?id=1486480
 %if 0%{?fedora}
 Requires:       mariadb-connector-c

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

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

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