diff --git a/_multibuild b/_multibuild
new file mode 100644
index 0000000..fcc7b97
--- /dev/null
+++ b/_multibuild
@@ -0,0 +1,3 @@
+
+ test
+
diff --git a/ara-1.0.1.tar.gz b/ara-1.0.1.tar.gz
deleted file mode 100644
index b821ee8..0000000
--- a/ara-1.0.1.tar.gz
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:13f5dd0a98366d4594e8cb18f051a18474f882fa72b947730f781a7d6b895f2f
-size 559742
diff --git a/ara-1.1.0.tar.gz b/ara-1.1.0.tar.gz
new file mode 100644
index 0000000..16b9cc2
--- /dev/null
+++ b/ara-1.1.0.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:75e012f609bf5df46928c0b1da8d545cf5330f1639ff0d3351debaa4e97954e1
+size 566337
diff --git a/python-ara.changes b/python-ara.changes
index 734affd..e635acd 100644
--- a/python-ara.changes
+++ b/python-ara.changes
@@ -1,3 +1,19 @@
+-------------------------------------------------------------------
+Tue Sep 24 07:42:45 UTC 2019 - pgajdos@suse.com
+
+- version update to 1.1.0
+ * Added support for dynamically serving multiple sqlite databases
+ dynamically from a single API server instance [1]
+ * ara_record no longer instanciates it's own API client and will
+ instead retrieve the client instance used by the callback.
+ * Django's CONN_MAX_AGE database setting for configuring the
+ duration of a database connection is now exposed [2]
+ * The ARA API client timeout as configured by Ansible through the
+ callback plugin is now always an integer.
+ * The offline API client now has an argument to prevent SQL
+ migrations from running automatically [3]
+- test package (multibuild)
+
-------------------------------------------------------------------
Wed Jul 3 14:57:08 UTC 2019 - Itxaka serrano
diff --git a/python-ara.spec b/python-ara.spec
index 9b1b6ed..6c89dcc 100644
--- a/python-ara.spec
+++ b/python-ara.spec
@@ -16,10 +16,19 @@
#
+%global flavor @BUILD_FLAVOR@%{nil}
+%if "%{flavor}" == "test"
+%define psuffix -test
+%bcond_without test
+%else
+%define psuffix %{nil}
+%bcond_with test
+%endif
+
%define skip_python2 1
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-ara
-Version: 1.0.1
+Version: 1.1.0
Release: 0
Summary: ARA Records Ansible
License: GPL-3.0-or-later
@@ -29,6 +38,17 @@ Source: https://files.pythonhosted.org/packages/source/a/ara/ara-%{versi
BuildRequires: %{python_module devel}
BuildRequires: %{python_module pbr}
BuildRequires: %{python_module setuptools}
+%if %{with test}
+BuildRequires: %{python_module Django >= 2.1.5}
+BuildRequires: %{python_module ara >= %{version}}
+BuildRequires: %{python_module django-cors-headers}
+BuildRequires: %{python_module django-filter}
+BuildRequires: %{python_module djangorestframework >= 3.9.1}
+BuildRequires: %{python_module dynaconf}
+BuildRequires: %{python_module factory_boy}
+BuildRequires: %{python_module pyaml}
+BuildRequires: %{python_module whitenoise}
+%endif
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-pbr >= 2.0.0
@@ -55,13 +75,22 @@ tools and interfaces.
%python_build
%install
+%if !%{with test}
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
+%endif
+%check
+%if %{with test}
+ara-manage test ara
+%endif
+
+%if !%{with test}
%files %{python_files}
%doc README.rst
%license LICENSE
%python3_only %{_bindir}/ara-manage
%{python_sitelib}/*
+%endif
%changelog