Remove %pkg_provides macro
This macro does not add any new provides that wouldn't be there automatically.
This commit is contained in:
parent
b636fca34b
commit
6bab42f298
@ -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 %{**}\
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user