summaryrefslogtreecommitdiffstats
path: root/redhat/main/tdevelop/tdevelop-14.0.0.spec
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/main/tdevelop/tdevelop-14.0.0.spec')
-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