summaryrefslogtreecommitdiffstats
path: root/redhat/main/tdevelop/tdevelop.spec
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2021-05-13 20:36:43 +0200
committerFrançois Andriot <albator78@libertysurf.fr>2021-05-13 22:39:07 +0200
commit8e3510f75a34c04dcf4503c15d4cfa85c92ed0e4 (patch)
tree5a7f6d1f1a87a7396df89dc61df946fc049f58ac /redhat/main/tdevelop/tdevelop.spec
parent2129c45a49b6487864915ecc1e22726cc5f62b71 (diff)
downloadtde-packaging-8e3510f75a34c04dcf4503c15d4cfa85c92ed0e4.tar.gz
tde-packaging-8e3510f75a34c04dcf4503c15d4cfa85c92ed0e4.zip
RPM: update all 'Obsoletes' and 'Provides' statement to avoid build warnings
Signed-off-by: François Andriot <albator78@libertysurf.fr>
Diffstat (limited to 'redhat/main/tdevelop/tdevelop.spec')
-rw-r--r--redhat/main/tdevelop/tdevelop.spec18
1 files changed, 9 insertions, 9 deletions
diff --git a/redhat/main/tdevelop/tdevelop.spec b/redhat/main/tdevelop/tdevelop.spec
index d481900b2..c8378f35e 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.