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/tdevelop/tdevelop.spec | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'redhat/main/tdevelop') diff --git a/redhat/main/tdevelop/tdevelop.spec b/redhat/main/tdevelop/tdevelop.spec index dfcbcace6..21f4d0c8d 100644 --- a/redhat/main/tdevelop/tdevelop.spec +++ b/redhat/main/tdevelop/tdevelop.spec @@ -60,7 +60,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz Source1: %{name}-rpmlintrc -Requires: %{name}-libs = %{version}-%{release} +Requires: %{name}-libs = %{?epoch:%{epoch}:}%{version}-%{release} BuildRequires: tqt3-apps-devel >= 3.5.0 BuildRequires: trinity-arts-devel >= %{tde_epoch}:1.5.10 @@ -68,8 +68,8 @@ BuildRequires: trinity-tdelibs-devel >= %{tde_version} BuildRequires: trinity-tdebase-devel >= %{tde_version} BuildRequires: trinity-tdesdk-devel >= %{tde_version} -Obsoletes: trinity-kdevelop < %{version}-%{release} -Provides: trinity-kdevelop = %{version}-%{release} +Obsoletes: trinity-kdevelop < %{?epoch:%{epoch}:}%{version}-%{release} +Provides: trinity-kdevelop = %{?epoch:%{epoch}:}%{version}-%{release} # SUSE desktop files utility %if 0%{?suse_version} @@ -536,10 +536,10 @@ individual needs. %package devel Summary: Development files for %{name} Group: Development/Libraries/Other -Requires: %{name}-libs = %{version}-%{release} +Requires: %{name}-libs = %{?epoch:%{epoch}:}%{version}-%{release} -Obsoletes: trinity-kdevelop-devel < %{version}-%{release} -Provides: trinity-kdevelop-devel = %{version}-%{release} +Obsoletes: trinity-kdevelop-devel < %{?epoch:%{epoch}:}%{version}-%{release} +Provides: trinity-kdevelop-devel = %{?epoch:%{epoch}:}%{version}-%{release} %description devel This package contains the development files for tdevelop. @@ -557,10 +557,10 @@ Summary: %{name} runtime libraries Group: System Environment/Libraries Requires: trinity-tdelibs >= %{tde_version} # include to be paranoid, installing libs-only is still mostly untested -- Rex -Requires: %{name} = %{version}-%{release} +Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} -Obsoletes: trinity-kdevelop-libs < %{version}-%{release} -Provides: trinity-kdevelop-libs = %{version}-%{release} +Obsoletes: trinity-kdevelop-libs < %{?epoch:%{epoch}:}%{version}-%{release} +Provides: trinity-kdevelop-libs = %{?epoch:%{epoch}:}%{version}-%{release} %description libs This package contains the libraries needed for the tdevelop programs. -- cgit v1.2.1