diff --git a/_service b/_service
new file mode 100644
index 0000000..aa59ca1
--- /dev/null
+++ b/_service
@@ -0,0 +1,4 @@
+
+
+
+
diff --git a/gnuhealth-thalamus.changes b/gnuhealth-thalamus.changes
index 580ebb9..b3fc86d 100644
--- a/gnuhealth-thalamus.changes
+++ b/gnuhealth-thalamus.changes
@@ -1,3 +1,9 @@
+-------------------------------------------------------------------
+Fri Mar 8 20:57:13 UTC 2019 - Axel Braun
+
+- Version 0.9.8
+ rewrite to use PostgreSQL instad of mongoDB
+
-------------------------------------------------------------------
Mon Dec 17 12:04:49 UTC 2018 - Axel Braun
diff --git a/gnuhealth-thalamus.spec b/gnuhealth-thalamus.spec
index bbfc0bd..c6fd85d 100644
--- a/gnuhealth-thalamus.spec
+++ b/gnuhealth-thalamus.spec
@@ -1,8 +1,8 @@
#
# spec file for package gnuhealth-thalamus
#
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
-# Copyright (c) 2017-218 Dr. Axel Braun
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017-2019 Dr. Axel Braun
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -13,35 +13,38 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
+#
+
%bcond_without test
%define modname thalamus
Name: gnuhealth-%{modname}
-Version: 0.9.5
+Version: 0.9.8
Release: 0
-License: GPL-3.0-or-later
Summary: The GNU Health Federation Message and Authentication Server
-Url: http://health.gnu.org
+License: GPL-3.0-or-later
Group: Development/Languages/Python
+Url: http://health.gnu.org
Source: https://files.pythonhosted.org/packages/source/t/%{modname}/%{modname}-%{version}.tar.gz
+BuildRequires: postgresql-server
BuildRequires: python-rpm-macros
BuildRequires: python3-devel
BuildRequires: python3-setuptools
%if %{with test}
-BuildRequires: python3-bcrypt
BuildRequires: python3-Flask
BuildRequires: python3-Flask-HTTPAuth
-BuildRequires: python3-Flask-PyMongo
+BuildRequires: python3-bcrypt
+##BuildRequires: python3-Flask-PyMongo
BuildRequires: python3-Flask-RESTful
%endif
BuildRequires: fdupes
-Requires: python3-bcrypt
+Requires: postgresql-server
Requires: python3-Flask
Requires: python3-Flask-HTTPAuth
-Requires: python3-Flask-PyMongo
-Requires: python3-Flask-RESTful
+Requires: python3-Flask-RESTful
+Requires: python3-bcrypt
BuildArch: noarch
%description
diff --git a/thalamus-0.9.8.tar.gz b/thalamus-0.9.8.tar.gz
new file mode 100644
index 0000000..6eba365
--- /dev/null
+++ b/thalamus-0.9.8.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:7378cb7d96ae4bfa87ddbd65eddfb7a8aaeed3ba3f2005cc36162c0bcb101f46
+size 87565