Remove %pkg_provides macro

This macro does not add any new provides that wouldn't be there automatically.
This commit is contained in:
Honza Horak 2024-02-05 13:44:38 +01:00
parent b636fca34b
commit 6bab42f298

View File

@ -297,11 +297,6 @@ Provides: %{pkg_name}%{?1:-%{1}}-any\
Conflicts: %{pkg_name}%{?1:-%{1}}-any\
}
%define pkg_provides() %{expand:\
Provides: %{pkgname}%{?1:-%{1}} = %{sameevr}\
Provides: %{pkgname}%{?1:-%{1}}%{?_isa} = %{sameevr}\
}
# Provide also mariadbXX.XX if default
%if %?mariadb_default
%define mariadbXX_if_default() %{expand:\
@ -314,7 +309,6 @@ Provides: mariadb%{pkg_version}%{?1:-%{1}}%{?_isa} = %{sameevr}\
%define add_metadata() %{expand:\
%conflict_with_other_streams %{**}\
%pkg_provides %{**}\
%mariadbXX_if_default %{**}\
}