summaryrefslogtreecommitdiffstats
path: root/redhat/main/tdevelop
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2014-12-22 10:26:41 +0100
committerFrançois Andriot <albator78@libertysurf.fr>2014-12-22 10:26:41 +0100
commit430c48787e46116f09139ae549ffe8e60ba1f89d (patch)
tree5d4feb09c36062e854c73c649bfe42d3a52b17d3 /redhat/main/tdevelop
parentf0e09cb4f6928c75afde31e612c8dcee998f5340 (diff)
downloadtde-packaging-430c48787e46116f09139ae549ffe8e60ba1f89d.tar.gz
tde-packaging-430c48787e46116f09139ae549ffe8e60ba1f89d.zip
RPM packaging: updates
Diffstat (limited to 'redhat/main/tdevelop')
-rw-r--r--redhat/main/tdevelop/tdevelop-14.0.0.spec5
1 files changed, 5 insertions, 0 deletions
diff --git a/redhat/main/tdevelop/tdevelop-14.0.0.spec b/redhat/main/tdevelop/tdevelop-14.0.0.spec
index c810089ac..8e87ddd1a 100644
--- a/redhat/main/tdevelop/tdevelop-14.0.0.spec
+++ b/redhat/main/tdevelop/tdevelop-14.0.0.spec
@@ -34,6 +34,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: Integrated Development Environment for C++/C