summaryrefslogtreecommitdiffstats
path: root/redhat/main/tdeartwork/tdeartwork-14.0.0.spec
diff options
context:
space:
mode:
authorFrançois Andriot <[email protected]>2014-12-22 10:26:41 +0100
committerFrançois Andriot <[email protected]>2014-12-22 10:26:41 +0100
commit430c48787e46116f09139ae549ffe8e60ba1f89d (patch)
tree5d4feb09c36062e854c73c649bfe42d3a52b17d3 /redhat/main/tdeartwork/tdeartwork-14.0.0.spec
parentf0e09cb4f6928c75afde31e612c8dcee998f5340 (diff)
downloadtde-packaging-430c48787e46116f09139ae549ffe8e60ba1f89d.tar.gz
tde-packaging-430c48787e46116f09139ae549ffe8e60ba1f89d.zip
RPM packaging: updates
Diffstat (limited to 'redhat/main/tdeartwork/tdeartwork-14.0.0.spec')
-rw-r--r--redhat/main/tdeartwork/tdeartwork-14.0.0.spec5
1 files changed, 5 insertions, 0 deletions
diff --git a/redhat/main/tdeartwork/tdeartwork-14.0.0.spec b/redhat/main/tdeartwork/tdeartwork-14.0.0.spec
index 4eb0da555..0fc831de1 100644
--- a/redhat/main/tdeartwork/tdeartwork-14.0.0.spec
+++ b/redhat/main/tdeartwork/tdeartwork-14.0.0.spec
@@ -35,6 +35,11 @@
%define tde_tdeincludedir %{tde_includedir}/tde
%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-%{tde_pkg}
Summary: Additional artwork (themes, sound themes, ...) for TDE