Remove arch specific provides for noarch subpackages
Also add Release to the Provides version, so it adhere the Packaging Guidelines
This commit is contained in:
parent
e7752d4c32
commit
859da9f619
@ -71,7 +71,7 @@
|
|||||||
%bcond obsoletes_community_mysql 1
|
%bcond obsoletes_community_mysql 1
|
||||||
# This is the last version of the 'community-mysql' package production release
|
# This is the last version of the 'community-mysql' package production release
|
||||||
%global obsolete_community_mysql_version 8.0.35-4
|
%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
|
# Make long macros shorter
|
||||||
%global sameevr %{?epoch:%{epoch}:}%{version}-%{release}
|
%global sameevr %{?epoch:%{epoch}:}%{version}-%{release}
|
||||||
@ -259,7 +259,6 @@ Summary: The shared files required for MySQL server and client
|
|||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
Requires: %{_sysconfdir}/my.cnf
|
Requires: %{_sysconfdir}/my.cnf
|
||||||
%{?with_provides_community_mysql:Provides: community-mysql-common = %community_mysql_version}
|
%{?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}
|
%{?with_obsoletes_community_mysql:Obsoletes: community-mysql-common <= %obsolete_community_mysql_version}
|
||||||
|
|
||||||
%description common
|
%description common
|
||||||
@ -275,7 +274,6 @@ Summary: The error messages files required by MySQL server
|
|||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
Requires: %{name}-common = %{sameevr}
|
Requires: %{name}-common = %{sameevr}
|
||||||
%{?with_provides_community_mysql:Provides: community-mysql-errmsg = %community_mysql_version}
|
%{?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}
|
%{?with_obsoletes_community_mysql:Obsoletes: community-mysql-errmsg <= %obsolete_community_mysql_version}
|
||||||
|
|
||||||
%description errmsg
|
%description errmsg
|
||||||
|
Loading…
Reference in New Issue
Block a user