diff --git a/mysql8.0.spec b/mysql8.0.spec index faeb31c..c2720c6 100644 --- a/mysql8.0.spec +++ b/mysql8.0.spec @@ -84,7 +84,7 @@ Name: %{majorname}%{majorversion} Version: %{package_version} -Release: 4%{?with_debug:.debug}%{?dist} +Release: 5%{?with_debug:.debug}%{?dist} Summary: MySQL client programs and shared libraries URL: http://www.mysql.com @@ -302,7 +302,11 @@ package itself. %package -n %{pkgname}-common Summary: The shared files required for MySQL server and client BuildArch: noarch +%if 0%{?flatpak} +Requires: mariadb-connector-c-config +%else Requires: %{_sysconfdir}/my.cnf +%endif %{?with_provides_community_mysql:Provides: community-mysql-common = %community_mysql_version} %{?with_obsoletes_community_mysql:Obsoletes: community-mysql-common <= %obsolete_community_mysql_version} @@ -338,8 +342,12 @@ Summary: The MySQL server and related files Requires: %{pkgname}%{?_isa} = %{sameevr} Requires: %{pkgname}-common = %{sameevr} +%if 0%{?flatpak} +Requires: mariadb-connector-c-config +%else Requires: %{_sysconfdir}/my.cnf Requires: %{_sysconfdir}/my.cnf.d +%endif Requires: %{pkgname}-errmsg = %{sameevr} %{?mecab:Requires: mecab-ipadic} Requires: coreutils @@ -1043,6 +1051,9 @@ fi %endif %changelog +* Tue Apr 16 2024 Michal Schorm - 8.0.36-5 +- Fix my.cnf dependency for Flatpak builds + * Mon Feb 19 2024 Honza Horak - 8.0.36-4 - Do not provide community-mysql* symbols if alternative