summaryrefslogtreecommitdiffstats
path: root/redhat/main/tdevelop
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:40:29 +0200
commitec1c5eaa0e86bf9f34c15e86675834683fbcbbfb (patch)
treebe508994d0f2dc1c9c4a8165249f65f51ae84f50 /redhat/main/tdevelop
parent53213b648bf2965b5a0b272163acd5f3c7703b09 (diff)
downloadtde-packaging-ec1c5eaa0e86bf9f34c15e86675834683fbcbbfb.tar.gz
tde-packaging-ec1c5eaa0e86bf9f34c15e86675834683fbcbbfb.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')
-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 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.