summaryrefslogtreecommitdiffstats
path: root/redhat/dependencies/libcarddav/libcarddav.spec
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/dependencies/libcarddav/libcarddav.spec')
-rw-r--r--redhat/dependencies/libcarddav/libcarddav.spec7
1 files changed, 6 insertions, 1 deletions
diff --git a/redhat/dependencies/libcarddav/libcarddav.spec b/redhat/dependencies/libcarddav/libcarddav.spec
index a2e8c7310..c47f40a49 100644
--- a/redhat/dependencies/libcarddav/libcarddav.spec
+++ b/redhat/dependencies/libcarddav/libcarddav.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: libcarddav
Version: 0.6.2
-Release: 2debian2.1%{?dist}
+Release: 2debian2.1%{?dist}%{?_variant}
Vendor: Trinity Project
URL: http://www.trinitydesktop.org/