summaryrefslogtreecommitdiffstats
path: root/redhat/main/tdeartwork/tdeartwork-14.0.0.spec
diff options
context:
space:
mode:
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