https://bugzilla.redhat.com/show_bug.cgi?id=2494534
Bug ID: 2494534
Summary: Use '-any' virtual provide for mariadb / mysql
dependencies
Product: Fedora
Version: 43
OS: Linux
Status: NEW
Component: perl-Test-mysqld
Severity: high
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
CC: [email protected], [email protected]
Target Milestone: ---
Classification: Fedora
MariaDB and MySQL use versioned package layout in Fedora nowadays.
That means multiple LTS versions of the same DB are packed in parallel as
differently named packages (mariadb10.11, mariadb11.8, mariadb12.3, ...).
Exactly one of these packages is chosen as "distribution default" version,
which provides the unversioned names (mariadb, mariadb-server, ...).
However when your package Requires the unversioned name, it cannot be used with
any other version of that database.
Virtual RPM provides with '-any' suffixes, (mariadb-any, mariadb-server-any,
...) which are provided by every version of that database, has to be used
instead.
To fix it, instead of:
Requires: mariadb
use:
Requires: mariadb-any
Recommends: mariadb
or e.g. instead:
Requires: mariadb-server
use:
Requires: mariadb-server-any
Recommends: mariadb-server
(based on the type of RPM relationship you use in your package)
Where the Requires make sure it can be satisfied by any database version, while
the recommends sets a preference for the distribution default version for that
Fedora release, when no database is installed yet.
This has to be fixed in all active Fedora releases.
Please apply the necessary fix to your package and prepare an update in BODHI.
Reproducible: Always
--
You are receiving this mail because:
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=2494534
Report this comment as SPAM:
https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-spam&short_desc=Report%20of%20Bug%202494534%23c0
--
_______________________________________________
perl-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it:
https://forge.fedoraproject.org/infra/tickets/issues/new