From 430c48787e46116f09139ae549ffe8e60ba1f89d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Andriot?= Date: Mon, 22 Dec 2014 10:26:41 +0100 Subject: RPM packaging: updates --- redhat/extras/trinity-filesystem/trinity-filesystem-14.0.0.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'redhat/extras/trinity-filesystem/trinity-filesystem-14.0.0.spec') diff --git a/redhat/extras/trinity-filesystem/trinity-filesystem-14.0.0.spec b/redhat/extras/trinity-filesystem/trinity-filesystem-14.0.0.spec index 76871022c..309fea09a 100644 --- a/redhat/extras/trinity-filesystem/trinity-filesystem-14.0.0.spec +++ b/redhat/extras/trinity-filesystem/trinity-filesystem-14.0.0.spec @@ -29,11 +29,15 @@ %define tde_libdir %{tde_prefix}/%{_lib} %define tde_tdelibdir %{tde_libdir}/trinity +# 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 Name: trinity-filesystem Version: %{tde_version} -Release: 1%{?dist} +Release: 1%{?dist}%{?_variant} Summary: Trinity Directory Layout Group: System/Fhs URL: http://www.trinitydesktop.org/ -- cgit v1.2.1