diff --git a/python-tornado.changes b/python-tornado.changes index f46d554..0a2141b 100644 --- a/python-tornado.changes +++ b/python-tornado.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Apr 8 12:17:24 UTC 2020 - Tomáš Chvátal + +- Add conditional so we can dynamically turn off python2 + ------------------------------------------------------------------- Tue Oct 1 13:36:35 UTC 2019 - Tomáš Chvátal diff --git a/python-tornado.spec b/python-tornado.spec index a1170e2..2cab85c 100644 --- a/python-tornado.spec +++ b/python-tornado.spec @@ -1,7 +1,7 @@ # # spec file for package python-tornado # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,6 +17,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%bcond_without python2 Name: python-tornado Version: 5 Release: 0 @@ -98,8 +99,10 @@ cp %{SOURCE0} . %install : +%if %{with python2} %files -n python2-tornado %doc README.SUSE +%endif %files -n python3-tornado %doc README.SUSE