summaryrefslogtreecommitdiffstats
path: root/redhat/extras/knoda
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2015-08-30 12:27:30 +0200
committerFrançois Andriot <albator78@libertysurf.fr>2015-08-30 12:27:30 +0200
commit972e86c4ebf80d36fffc6c9d02a3d1596ca61fb2 (patch)
treeab6620583bc880bd61cceb0058ecc1f7e896b992 /redhat/extras/knoda
parente5f2386a7884932cffd7c862b6ddedbd2e8a6810 (diff)
downloadtde-packaging-972e86c4ebf80d36fffc6c9d02a3d1596ca61fb2.tar.gz
tde-packaging-972e86c4ebf80d36fffc6c9d02a3d1596ca61fb2.zip
RPM packaging: massive update SPEC files
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