summaryrefslogtreecommitdiffstats
path: root/redhat/main/tdelibs/tdelibs.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/tdelibs/tdelibs.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/tdelibs/tdelibs.spec')
-rw-r--r--redhat/main/tdelibs/tdelibs.spec22
1 files changed, 11 insertions, 11 deletions
diff --git a/redhat/main/tdelibs/tdelibs.spec b/redhat/main/tdelibs/tdelibs.spec
index b0b9a8045..d9bad2c8b 100644
--- a/redhat/main/tdelibs/tdelibs.spec
+++ b/redhat/main/tdelibs/tdelibs.spec
@@ -60,12 +60,12 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz
Source1: %{name}-rpmlintrc
-Obsoletes: tdelibs < %{version}-%{release}
-Provides: tdelibs = %{version}-%{release}
-Obsoletes: trinity-kdelibs < %{version}-%{release}
-Provides: trinity-kdelibs = %{version}-%{release}
-Obsoletes: trinity-kdelibs-apidocs < %{version}-%{release}
-Provides: trinity-kdelibs-apidocs = %{version}-%{release}
+Obsoletes: tdelibs < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: tdelibs = %{?epoch:%{epoch}:}%{version}-%{release}
+Obsoletes: trinity-kdelibs < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kdelibs = %{?epoch:%{epoch}:}%{version}-%{release}
+Obsoletes: trinity-kdelibs-apidocs < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kdelibs-apidocs = %{?epoch:%{epoch}:}%{version}-%{release}
# for set_permissions macro
%if 0%{?suse_version}
@@ -580,12 +580,12 @@ fi
%package devel
Summary: TDE Libraries (Development files)
Group: Development/Libraries/X11
-Requires: %{name} = %{version}-%{release}
+Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
-Obsoletes: tdelibs-devel < %{version}-%{release}
-Provides: tdelibs-devel = %{version}-%{release}
-Obsoletes: trinity-kdelibs-devel < %{version}-%{release}
-Provides: trinity-kdelibs-devel = %{version}-%{release}
+Obsoletes: tdelibs-devel < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: tdelibs-devel = %{?epoch:%{epoch}:}%{version}-%{release}
+Obsoletes: trinity-kdelibs-devel < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kdelibs-devel = %{?epoch:%{epoch}:}%{version}-%{release}
Requires: libtqt3-mt-devel >= 3.5.0
Requires: libtqt4-devel = %{tde_epoch}:4.2.0