summaryrefslogtreecommitdiffstats
path: root/redhat/main/tdeadmin/tdeadmin-14.0.0.spec
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/main/tdeadmin/tdeadmin-14.0.0.spec')
-rw-r--r--redhat/main/tdeadmin/tdeadmin-14.0.0.spec5
1 files changed, 5 insertions, 0 deletions
diff --git a/redhat/main/tdeadmin/tdeadmin-14.0.0.spec b/redhat/main/tdeadmin/tdeadmin-14.0.0.spec
index a88cd5e22..0eec461d8 100644
--- a/redhat/main/tdeadmin/tdeadmin-14.0.0.spec
+++ b/redhat/main/tdeadmin/tdeadmin-14.0.0.spec
@@ -36,6 +36,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: Administrative tools for TDE