summaryrefslogtreecommitdiffstats
path: root/redhat/dependencies/libcarddav/libcarddav.spec
diff options
context:
space:
mode:
authoralbator <albator@arcadia.vtf>2011-10-31 19:18:15 +0100
committeralbator <albator@arcadia.vtf>2011-10-31 19:18:15 +0100
commit8695886e97b271cba9f587a94d5ee8368a11a6db (patch)
treea4bae11ff42a768b991d898b3ceff641f70bb346 /redhat/dependencies/libcarddav/libcarddav.spec
parent22f1373d3e0c69b54532e118571e46a3e2c9b7a6 (diff)
downloadtde-packaging-8695886e97b271cba9f587a94d5ee8368a11a6db.tar.gz
tde-packaging-8695886e97b271cba9f587a94d5ee8368a11a6db.zip
TDE 3.5.13 final more small fixes before release (RHEL/Fedora)
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/