From 972e86c4ebf80d36fffc6c9d02a3d1596ca61fb2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Andriot?= Date: Sun, 30 Aug 2015 12:27:30 +0200 Subject: RPM packaging: massive update SPEC files --- redhat/extras/knoda/trinity-knoda.spec | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'redhat/extras/knoda') 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 -- cgit v1.2.1