On  2023-02-18 14:23, Reindl Harald (privat) wrote:
Am 18.02.23 um 22:58 schrieb Gordon Messmer:
On  2023-02-18 03:59, Reindl Harald (privat) wrote:

sounds horrible because Obsoletes/Provides in noarch-packages won't be longer enough to override useless dependencies

Can you provide an example?  I'm afraid I don't know what this means

mariadb-libs as example where i don't get why "mariadb-connector-c" exists at all and yes 10.3 is by intention

[harry@srv-rhsoft:~]$ rpm -q mariadb-libs
mariadb-libs-10.3.38-0.fc36.20230206.rh.skylake.x86_64

%package           libs
Summary:           The shared libraries required for MariaDB clients
Provides:          mysql-libs = %{epoch}:%{version}-%{release}, mysql-libs%{?_isa} = %{epoch}:%{version}-%{release}, mariadb-connector-c = %{epoch}:%{version}-%{release}, mariadb-connector-c%{?_isa} = %{epoch}:%{version}-%{release}
Obsoletes:         mysql-libs < 1000, community-mysql-libs < 1000
%description       libs

All of that should continue to work, with one important consideration:

When any library is intended as a substitute for another library*, it will need to match the libtool "current" and "age" version spec, because the interface version *is* one of the things that a compatibility library must be compatible with. If mariadb and mysql did not express compatible versions, then the package maintainer may need to manually add "Provides: libmysqlclient.so.18()(64bit) = 18.0.0" to mariadb-libs.


*: I have to guess that this mariadb-libs package "Provides: libmysqlclient.so.18()(64bit)"... please tell me if you mean something else.
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
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/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to