diff options
author | François Andriot <albator78@libertysurf.fr> | 2014-12-22 10:26:41 +0100 |
---|---|---|
committer | François Andriot <albator78@libertysurf.fr> | 2014-12-22 10:26:41 +0100 |
commit | 430c48787e46116f09139ae549ffe8e60ba1f89d (patch) | |
tree | 5d4feb09c36062e854c73c649bfe42d3a52b17d3 /redhat/extras/trinity-filesystem/trinity-filesystem-14.0.0.spec | |
parent | f0e09cb4f6928c75afde31e612c8dcee998f5340 (diff) | |
download | tde-packaging-430c48787e46116f09139ae549ffe8e60ba1f89d.tar.gz tde-packaging-430c48787e46116f09139ae549ffe8e60ba1f89d.zip |
RPM packaging: updates
Diffstat (limited to 'redhat/extras/trinity-filesystem/trinity-filesystem-14.0.0.spec')
-rw-r--r-- | redhat/extras/trinity-filesystem/trinity-filesystem-14.0.0.spec | 6 |
1 files changed, 5 insertions, 1 deletions
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/ |