summaryrefslogtreecommitdiffstats
path: root/redhat/main/tdelibs/tdelibs.spec
diff options
context:
space:
mode:
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 334993823..d7beb44fb 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