summaryrefslogtreecommitdiffstats
path: root/redhat/applications/tde-guidance/tde-guidance-14.0.0.spec
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/applications/tde-guidance/tde-guidance-14.0.0.spec')
-rw-r--r--redhat/applications/tde-guidance/tde-guidance-14.0.0.spec20
1 files changed, 11 insertions, 9 deletions
diff --git a/redhat/applications/tde-guidance/tde-guidance-14.0.0.spec b/redhat/applications/tde-guidance/tde-guidance-14.0.0.spec
index 2a3803e9c..cde6fa645 100644
--- a/redhat/applications/tde-guidance/tde-guidance-14.0.0.spec
+++ b/redhat/applications/tde-guidance/tde-guidance-14.0.0.spec
@@ -1,5 +1,5 @@
#
-# spec file for package tde-guidance (version R14.0.0)
+# spec file for package tde-guidance (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@@ -17,7 +17,9 @@
# TDE variables
%define tde_epoch 2
+%if "%{?tde_version}" == ""
%define tde_version 14.0.0
+%endif
%define tde_pkg tde-guidance
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin
@@ -146,14 +148,14 @@ Requires: python
Requires: hwdata
%endif
-Requires: %{name}-backends = %{version}-%{release}
+Requires: %{name}-backends = %{?epoch:%{epoch}:}%{version}-%{release}
# POWERMANAGER support (requires HAL)
#define with_powermanager 1
Obsoletes: trinity-tde-guidance-powermanager
-Obsoletes: trinity-guidance < %{version}-%{release}
-Provides: trinity-guidance = %{version}-%{release}
+Obsoletes: trinity-guidance < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-guidance = %{?epoch:%{epoch}:}%{version}-%{release}
%description
Guidance currently consists of four programs designed to help you
@@ -222,8 +224,8 @@ Requires: hwdata
%endif
Requires: python
-Obsoletes: trinity-guidance-backends < %{version}-%{release}
-Provides: trinity-guidance-backends = %{version}-%{release}
+Obsoletes: trinity-guidance-backends < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-guidance-backends = %{?epoch:%{epoch}:}%{version}-%{release}
%description backends
This package contains the platform neutral backends used in the
@@ -246,11 +248,11 @@ Guidance configuration tools.
%package powermanager
Group: Applications/Utilities
Summary: HAL based power manager applet [Trinity]
-Requires: %{name} = %{version}-%{release}
+Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
Requires: hal
-Obsoletes: trinity-guidance-powermanager < %{version}-%{release}
-Provides: trinity-guidance-powermanager = %{version}-%{release}
+Obsoletes: trinity-guidance-powermanager < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-guidance-powermanager = %{?epoch:%{epoch}:}%{version}-%{release}
%if "%{tde_prefix}" == "/usr"
Conflicts: guidance-power-manager