From 859da9f6196a28ca2e5d5d3f0bd8e3321e3e883f Mon Sep 17 00:00:00 2001 From: Lukas Javorsky Date: Wed, 31 Jan 2024 13:13:08 +0000 Subject: [PATCH] Remove arch specific provides for noarch subpackages Also add Release to the Provides version, so it adhere the Packaging Guidelines --- mysql8.0.spec | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/mysql8.0.spec b/mysql8.0.spec index 7765adf..522ea3f 100644 --- a/mysql8.0.spec +++ b/mysql8.0.spec @@ -71,7 +71,7 @@ %bcond obsoletes_community_mysql 1 # This is the last version of the 'community-mysql' package production release %global obsolete_community_mysql_version 8.0.35-4 -%global community_mysql_version 8.0.36 +%global community_mysql_version 8.0.36-1 # Make long macros shorter %global sameevr %{?epoch:%{epoch}:}%{version}-%{release} @@ -259,7 +259,6 @@ Summary: The shared files required for MySQL server and client BuildArch: noarch Requires: %{_sysconfdir}/my.cnf %{?with_provides_community_mysql:Provides: community-mysql-common = %community_mysql_version} -%{?with_provides_community_mysql:Provides: community-mysql-common%{?_isa} = %community_mysql_version} %{?with_obsoletes_community_mysql:Obsoletes: community-mysql-common <= %obsolete_community_mysql_version} %description common @@ -275,7 +274,6 @@ Summary: The error messages files required by MySQL server BuildArch: noarch Requires: %{name}-common = %{sameevr} %{?with_provides_community_mysql:Provides: community-mysql-errmsg = %community_mysql_version} -%{?with_provides_community_mysql:Provides: community-mysql-errmsg%{?_isa} = %community_mysql_version} %{?with_obsoletes_community_mysql:Obsoletes: community-mysql-errmsg <= %obsolete_community_mysql_version} %description errmsg