summaryrefslogtreecommitdiffstats
path: root/redhat/dependencies/libcaldav/libcaldav.spec
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/dependencies/libcaldav/libcaldav.spec')
-rw-r--r--redhat/dependencies/libcaldav/libcaldav.spec7
1 files changed, 6 insertions, 1 deletions
diff --git a/redhat/dependencies/libcaldav/libcaldav.spec b/redhat/dependencies/libcaldav/libcaldav.spec
index 8b505238f..6624409cd 100644
--- a/redhat/dependencies/libcaldav/libcaldav.spec
+++ b/redhat/dependencies/libcaldav/libcaldav.spec
@@ -1,6 +1,11 @@
+# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
+%if "%{?_prefix}" != "/usr"
+%define _variant .opt
+%endif
+
Name: libcaldav
Version: 0.6.5
-Release: 2debian2.1%{?dist}
+Release: 2debian2.1%{?dist}%{?_variant}
Vendor: Trinity Project
URL: http://www.trinitydesktop.org/