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/python-tblib.changes b/python-tblib.changes
index 2c6464e..3e4ee66 100644
--- a/python-tblib.changes
+++ b/python-tblib.changes
@@ -1,3 +1,20 @@
+-------------------------------------------------------------------
+Sun Dec 15 16:02:49 UTC 2019 - Stefan Brüns
+
+- Move the Twisted test out of the main package to avoid the
+ Twisted dependency chain.
+
+-------------------------------------------------------------------
+Sun Dec 15 15:34:21 UTC 2019 - Stefan Brüns
+
+- version update to 1.6.0
+ * When pickling an Exception, also pickle its traceback and the Exception
+ chain (raise ... from ...). Contributed by Guido Imperiale in #53.
+- version update to 1.5.0
+ * Added support for Python 3.8. Contributed by Victor Stinner in #42.
+ * Removed support for end of life Python 3.4.
+ * Few CI improvements and fixes.
+
-------------------------------------------------------------------
Mon May 6 07:56:48 UTC 2019 - pgajdos@suse.com
diff --git a/python-tblib.spec b/python-tblib.spec
index 4721f33..fbbf552 100644
--- a/python-tblib.spec
+++ b/python-tblib.spec
@@ -1,7 +1,7 @@
#
-# spec file for package python-tblib
+# spec file for package python
#
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,20 +17,34 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
-Name: python-tblib
-Version: 1.4.0
+%global flavor @BUILD_FLAVOR@%{nil}
+%if "%{flavor}" == "test"
+%bcond_without test
+%bcond_without test_twisted
+%define psuffix -test
+%else
+%bcond_without test
+%bcond_with test_twisted
+%endif
+Name: python-tblib%{?psuffix}
+Version: 1.6.0
Release: 0
Summary: Traceback serialization library
License: BSD-2-Clause
Group: Development/Languages/Python
-Url: https://github.com/ionelmc/python-tblib
+URL: https://github.com/ionelmc/python-tblib
Source: https://files.pythonhosted.org/packages/source/t/tblib/tblib-%{version}.tar.gz
-BuildRequires: %{python_module Twisted}
-BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
-BuildRequires: %{python_module six}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
+%if %{with test_twisted}
+BuildRequires: %{python_module Twisted}
+BuildRequires: %{python_module tblib == %{version}}
+%endif
+%if %{with test}
+BuildRequires: %{python_module pytest}
+BuildRequires: %{python_module six}
+%endif
Requires: python-six
BuildArch: noarch
@@ -62,15 +76,21 @@ the pickle support.
%python_build
%install
+%if "%{flavor}" != "test"
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
+%endif
%check
+%if %{with test}
%pytest
+%endif
+%if "%{flavor}" != "test"
%files %{python_files}
%doc AUTHORS.rst CHANGELOG.rst README.rst
%license LICENSE
%{python_sitelib}/*
+%endif
%changelog
diff --git a/tblib-1.4.0.tar.gz b/tblib-1.4.0.tar.gz
deleted file mode 100644
index 10a7321..0000000
--- a/tblib-1.4.0.tar.gz
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:bd1ad564564a158ff62c290687f3db446038f9ac11a0bf6892712e3601af3bcd
-size 27050
diff --git a/tblib-1.6.0.tar.gz b/tblib-1.6.0.tar.gz
new file mode 100644
index 0000000..14feeb6
--- /dev/null
+++ b/tblib-1.6.0.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:229bee3754cb5d98b4837dd5c4405e80cfab57cb9f93220410ad367f8b352344
+size 31450