From 884c5752ad525d86ec3c41ebca846b90802eff680b24164f4a5ab680c7bf74c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Tue, 17 Sep 2019 11:03:59 +0000 Subject: [PATCH] - Provide %oldpython-tornado symbol too OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tornado?expand=0&rev=112 --- python-tornado.changes | 5 +++++ python-tornado.spec | 4 ++++ 2 files changed, 9 insertions(+) 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