From ec1c5eaa0e86bf9f34c15e86675834683fbcbbfb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Andriot?= Date: Thu, 13 May 2021 20:36:43 +0200 Subject: RPM: update all 'Obsoletes' and 'Provides' statement to avoid build warnings MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: François Andriot --- redhat/main/tdeaccessibility/tdeaccessibility.spec | 38 +++++++++++----------- 1 file changed, 19 insertions(+), 19 deletions(-) (limited to 'redhat/main/tdeaccessibility') diff --git a/redhat/main/tdeaccessibility/tdeaccessibility.spec b/redhat/main/tdeaccessibility/tdeaccessibility.spec index a2faba458..e7250a59e 100644 --- a/redhat/main/tdeaccessibility/tdeaccessibility.spec +++ b/redhat/main/tdeaccessibility/tdeaccessibility.spec @@ -121,19 +121,19 @@ BuildRequires: %{_lib}xau%{?mgaversion:6}-devel BuildRequires: libXau-devel %endif -Obsoletes: trinity-kdeaccessibility < %{version}-%{release} -Provides: trinity-kdeaccessibility = %{version}-%{release} -Obsoletes: trinity-kdeaccessibility-libs < %{version}-%{release} -Provides: trinity-kdeaccessibility-libs = %{version}-%{release} - -Requires: trinity-tde-icons-mono = %{version}-%{release} -Requires: trinity-kbstate = %{version}-%{release} -Requires: trinity-kmag = %{version}-%{release} -Requires: trinity-kmousetool = %{version}-%{release} -Requires: trinity-kmouth = %{version}-%{release} -Requires: trinity-ksayit = %{version}-%{release} -Requires: trinity-kttsd = %{version}-%{release} -Requires: trinity-kttsd-contrib-plugins = %{version}-%{release} +Obsoletes: trinity-kdeaccessibility < %{?epoch:%{epoch}:}%{version}-%{release} +Provides: trinity-kdeaccessibility = %{?epoch:%{epoch}:}%{version}-%{release} +Obsoletes: trinity-kdeaccessibility-libs < %{?epoch:%{epoch}:}%{version}-%{release} +Provides: trinity-kdeaccessibility-libs = %{?epoch:%{epoch}:}%{version}-%{release} + +Requires: trinity-tde-icons-mono = %{?epoch:%{epoch}:}%{version}-%{release} +Requires: trinity-kbstate = %{?epoch:%{epoch}:}%{version}-%{release} +Requires: trinity-kmag = %{?epoch:%{epoch}:}%{version}-%{release} +Requires: trinity-kmousetool = %{?epoch:%{epoch}:}%{version}-%{release} +Requires: trinity-kmouth = %{?epoch:%{epoch}:}%{version}-%{release} +Requires: trinity-ksayit = %{?epoch:%{epoch}:}%{version}-%{release} +Requires: trinity-kttsd = %{?epoch:%{epoch}:}%{version}-%{release} +Requires: trinity-kttsd-contrib-plugins = %{?epoch:%{epoch}:}%{version}-%{release} %description Included with this package are: @@ -150,8 +150,8 @@ Included with this package are: Summary: A monochromatic icons theme for TDE Group: System/GUI/Other -Obsoletes: trinity-kde-icons-mono < %{version}-%{release} -Provides: trinity-kde-icons-mono = %{version}-%{release} +Obsoletes: trinity-kde-icons-mono < %{?epoch:%{epoch}:}%{version}-%{release} +Provides: trinity-kde-icons-mono = %{?epoch:%{epoch}:}%{version}-%{release} %description -n trinity-tde-icons-mono A monochromatic icon theme for TDE, designed for accessibility purposes. @@ -374,7 +374,7 @@ Homepage: http://accessibility.kde.org/developer/kttsd %package -n trinity-kttsd-contrib-plugins Summary: The TDE Text-to-Speech system Group: System/GUI/Other -Requires: trinity-kttsd = %{version}-%{release} +Requires: trinity-kttsd = %{?epoch:%{epoch}:}%{version}-%{release} %description -n trinity-kttsd-contrib-plugins kttsd synthetizer plugins that depends on non-free software : @@ -400,13 +400,13 @@ This package is part of Trinity, as a component of the TDE accessibility module. %package devel Summary: Development files for tdeaccessibility Group: Development/Libraries/X11 -Requires: %{name} = %{version}-%{release} +Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} Requires: trinity-tdelibs-devel >= %{version} Requires: libjpeg-devel Requires: libpng-devel -Obsoletes: trinity-kdeaccessibility-devel < %{version}-%{release} -Provides: trinity-kdeaccessibility-devel = %{version}-%{release} +Obsoletes: trinity-kdeaccessibility-devel < %{?epoch:%{epoch}:}%{version}-%{release} +Provides: trinity-kdeaccessibility-devel = %{?epoch:%{epoch}:}%{version}-%{release} %description devel This package contains the development file for TDE accessibility -- cgit v1.2.1