summaryrefslogtreecommitdiffstats
path: root/redhat/applications/kcmldap/kcmldap-14.0.0.spec
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/applications/kcmldap/kcmldap-14.0.0.spec')
-rw-r--r--redhat/applications/kcmldap/kcmldap-14.0.0.spec12
1 files changed, 7 insertions, 5 deletions
diff --git a/redhat/applications/kcmldap/kcmldap-14.0.0.spec b/redhat/applications/kcmldap/kcmldap-14.0.0.spec
index 1d03c657e..659763134 100644
--- a/redhat/applications/kcmldap/kcmldap-14.0.0.spec
+++ b/redhat/applications/kcmldap/kcmldap-14.0.0.spec
@@ -1,5 +1,5 @@
#
-# spec file for package kcmldap (version R14.0.0)
+# spec file for package kcmldap (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 kcmldap
%define tde_prefix /opt/trinity
%define tde_appdir %{tde_datadir}/applications
@@ -62,8 +64,8 @@ BuildRequires: desktop-file-utils
BuildRequires: gettext
BuildRequires: trinity-libtdeldap-devel >= 0.5
-Requires: trinity-tde-ldap-cert-updater = %{version}-%{release}
-Requires: trinity-kcontrol-ldap-bonding = %{version}-%{release}
+Requires: trinity-tde-ldap-cert-updater = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kcontrol-ldap-bonding = %{?epoch:%{epoch}:}%{version}-%{release}
BuildRequires: autoconf automake libtool m4
BuildRequires: gcc-c++
@@ -98,7 +100,7 @@ This is a meta-package that installs all kcmldap related packages.
%package -n trinity-kcontrol-ldap-bonding
Summary: Kerberos control module for the TDE control center
Group: Applications/Utilities
-Requires: trinity-tde-ldap-cert-updater = %{version}-%{release}
+Requires: trinity-tde-ldap-cert-updater = %{?epoch:%{epoch}:}%{version}-%{release}
%description -n trinity-kcontrol-ldap-bonding
This is a TDE control center module to manage TDE connections to Kerberos realms.
@@ -125,7 +127,7 @@ touch --no-create %{tde_datadir}/icons/hicolor || :
%package -n trinity-tde-ldap-cert-updater
Summary: Service to keep LDAP certificates up-to-date
Group: Applications/Utilities
-Requires: trinity-kcontrol-ldap-bonding = %{version}-%{release}
+Requires: trinity-kcontrol-ldap-bonding = %{?epoch:%{epoch}:}%{version}-%{release}
%description -n trinity-tde-ldap-cert-updater
This is a small daemon which keeps the LDAP root certificate up to date with the LDAP server