summaryrefslogtreecommitdiffstats
path: root/redhat/extras/knoda
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/extras/knoda')
-rw-r--r--redhat/extras/knoda/trinity-knoda.spec12
1 files changed, 4 insertions, 8 deletions
diff --git a/redhat/extras/knoda/trinity-knoda.spec b/redhat/extras/knoda/trinity-knoda.spec
index 541c23b4d..871b06067 100644
--- a/redhat/extras/knoda/trinity-knoda.spec
+++ b/redhat/extras/knoda/trinity-knoda.spec
@@ -1,11 +1,7 @@
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
-%if "%{?tde_prefix}" != "/usr"
-%define _variant .opt
-%endif
-
-
# TDE 3.5.13 specific building variables
+%define tde_version 14.0.1
%define tde_bindir %{tde_prefix}/bin
%define tde_datadir %{tde_prefix}/share
%define tde_confdir %{_sysconfdir}/trinity
@@ -23,7 +19,7 @@
Name: trinity-knoda
Version: 0.8.3
-Release: 1%{?dist}%{?_variant}
+Release: 1%{?dist}
Summary: A database frontend for TDE.
Group: Applications/Productivity
@@ -31,7 +27,7 @@ License: GPLv2+
URL: http://sourceforge.net/projects/knoda/
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-Source0: http://downloads.sourceforge.net/project/knoda/knoda/0.8.3/knoda-0.8.3.tar.gz
+Source0: http://downloads.sourceforge.net/project/knoda/knoda/0.8.3/knoda-%{tde_version}.tar.gz
BuildRequires: desktop-file-utils
BuildRequires: trinity-tdelibs-devel
@@ -52,7 +48,7 @@ Requires: %{name} = %{version}-%{release}
%{summary}
-%if 0%{?suse_version}
+%if 0%{?suse_version} || 0%{?pclinuxos}
%debug_package
%endif