[sqlgrey] Specify SQLite database by absolute path (bz894274)

Tom Callaway spot at fedoraproject.org
Mon Feb 25 22:33:27 UTC 2013


commit c1fdbebb976895e55edfde8c6e0798bea16857ab
Author: Tom Callaway <spot at fedoraproject.org>
Date:   Mon Feb 25 23:36:17 2013 +0100

    Specify SQLite database by absolute path (bz894274)

 sqlgrey-1.7.4-sqlite.patch |    2 +-
 sqlgrey.spec               |    5 ++++-
 2 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/sqlgrey-1.7.4-sqlite.patch b/sqlgrey-1.7.4-sqlite.patch
index 1799f10..425a8d9 100644
--- a/sqlgrey-1.7.4-sqlite.patch
+++ b/sqlgrey-1.7.4-sqlite.patch
@@ -6,7 +6,7 @@
  # db_type = Pg
 +db_type = SQLite
  # db_name = sqlgrey
-+db_name = sqlgrey.db
++db_name = /var/lib/sqlgrey/sqlgrey.db
  # Note: the following are not used with SQLite
  # db_host = localhost
  # db_port = default
diff --git a/sqlgrey.spec b/sqlgrey.spec
index f48f65e..b9e8c91 100644
--- a/sqlgrey.spec
+++ b/sqlgrey.spec
@@ -1,6 +1,6 @@
 Name:           sqlgrey
 Version:        1.8.0
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        Postfix grey-listing policy service
 Group:          System Environment/Daemons
 License:        GPLv2+
@@ -113,6 +113,9 @@ fi
 /bin/systemctl try-restart sqlgrey.service >/dev/null 2>&1 || :
 
 %changelog
+* Mon Feb 25 2013 Tom Callaway <spot at fedoraproject.org> - 1.8.0-4
+- Specify SQLite database by absolute path (Bojan Smojver)
+
 * Fri Feb 15 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.8.0-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
 


More information about the scm-commits mailing list