[akonadi/f14/master] add macro to tweak database backend you know, for sites/users who want to try it out, nobody you or

Rex Dieter rdieter at fedoraproject.org
Thu Apr 14 20:41:13 UTC 2011


commit 05752dcfe9f174383ba74866b8d2317b7d93c617
Author: Rex Dieter <rdieter at fedoraproject.org>
Date:   Thu Apr 14 15:43:00 2011 -0500

    add macro to tweak database backend
    you know, for sites/users who want to try it out, nobody you or I would
    be acquainted with...

 akonadi.spec |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/akonadi.spec b/akonadi.spec
index be98fbe..7512c81 100644
--- a/akonadi.spec
+++ b/akonadi.spec
@@ -1,4 +1,7 @@
 
+## can be Can be either MYSQL(default), POSTGRES or SQLITE
+#global database_backend MYSQL 
+
 Summary: PIM Storage Service
 Name:    akonadi
 Version: 1.5.2
@@ -73,6 +76,7 @@ mkdir -p %{_target_platform}
 pushd %{_target_platform}
 %{cmake} \
   -DCONFIG_INSTALL_DIR=%{_sysconfdir} \
+  %{?database_backend:-DDATABASE_BACKEND=%{database_backend}} \
   ..
 popd
 


More information about the scm-commits mailing list