diff --git a/python-tornado.changes b/python-tornado.changes index ac14ca0..70fa8f3 100644 --- a/python-tornado.changes +++ b/python-tornado.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Sep 17 11:03:40 UTC 2019 - Tomáš Chvátal + +- Provide %oldpython-tornado symbol too + ------------------------------------------------------------------- Thu Sep 12 09:29:42 UTC 2019 - Tomáš Chvátal diff --git a/python-tornado.spec b/python-tornado.spec index 720c9b6..eb98039 100644 --- a/python-tornado.spec +++ b/python-tornado.spec @@ -16,6 +16,7 @@ # +%define oldpython %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-tornado Version: 4.5.3 @@ -27,6 +28,9 @@ URL: http://www.tornadoweb.org Source0: README.suse BuildRequires: python-rpm-macros Requires: python-tornado-impl = %{version} +%ifpython2 +Provides: %{oldpython}-tornado = %{version} +%endif BuildArch: noarch %python_subpackages