From 6bab42f298965bfb9dc743e32f89260aabc1d58f Mon Sep 17 00:00:00 2001 From: Honza Horak Date: Mon, 5 Feb 2024 13:44:38 +0100 Subject: [PATCH] Remove %pkg_provides macro This macro does not add any new provides that wouldn't be there automatically. --- mariadb10.11.spec | 6 ------ 1 file changed, 6 deletions(-) diff --git a/mariadb10.11.spec b/mariadb10.11.spec index 2679f78..ba673ef 100644 --- a/mariadb10.11.spec +++ b/mariadb10.11.spec @@ -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 %{**}\ }