diff --git a/Do-not-turn-DeprecationWarning-into-Exception.patch b/Do-not-turn-DeprecationWarning-into-Exception.patch index 9f4cf4b..7633f35 100644 --- a/Do-not-turn-DeprecationWarning-into-Exception.patch +++ b/Do-not-turn-DeprecationWarning-into-Exception.patch @@ -1,7 +1,7 @@ -diff -Nur tornado-6.0.4/tornado/test/runtests.py tornado-6.0.4-new/tornado/test/runtests.py ---- tornado-6.0.4/tornado/test/runtests.py 2020-03-02 20:21:37.000000000 +0100 -+++ tornado-6.0.4-new/tornado/test/runtests.py 2020-09-14 09:21:31.818678680 +0200 -@@ -124,7 +124,6 @@ +diff -Nur tornado-6.0.4/tornado/test/runtests.py tornado-6.0.4-new/tornado/test/runtests.py +--- tornado-6.0.4/tornado/test/runtests.py 2020-03-02 20:21:37.000000000 +0100 ++++ tornado-6.0.4-new/tornado/test/runtests.py 2020-09-14 09:21:31.818678680 +0200 +@@ -126,7 +126,6 @@ # Tornado generally shouldn't use anything deprecated, but some of # our dependencies do (last match wins). warnings.filterwarnings("ignore", category=DeprecationWarning) diff --git a/python-tornado.spec b/python-tornado.spec index af33738..c627e54 100644 --- a/python-tornado.spec +++ b/python-tornado.spec @@ -1,13 +1,13 @@ %global srcname tornado Name: python-%{srcname} -Version: 6.0.4 +Version: 6.1.0 Release: 1%{?dist} Summary: Scalable, non-blocking web server and tools License: ASL 2.0 URL: http://www.tornadoweb.org -Source0: %{pypi_source} +Source0: https://github.com/tornadoweb/tornado/archive/v%{version}/%{srcname}-%{version}.tar.gz # Do not turn DeprecationWarning in tornado module into Exception # fixes FTBFS with Python 3.8 @@ -44,7 +44,7 @@ handle thousands of simultaneous standing connections, which means it is ideal for real-time web services. %package doc -Summary: Examples for python-tornado +Summary: Examples for %{name} Obsoletes: python%{python3_pkgversion}-%{srcname}-doc < 4.2.1-3 Provides: python%{python3_pkgversion}-%{srcname}-doc = %{version}-%{release} @@ -54,7 +54,7 @@ server and and tools. This package contains some example applications. %prep %autosetup -p1 -n %{srcname}-%{version} -# remove shebang from files +# Remove shebang from files %{__sed} -i.orig -e '/^#!\//, 1d' *py tornado/*.py tornado/*/*.py %build @@ -71,14 +71,18 @@ export ASYNC_TEST_TIMEOUT=10 %license LICENSE %doc README.rst %{python3_sitearch}/%{srcname}/ -%{python3_sitearch}/%{srcname}-%{version}-*.egg-info +%{python3_sitearch}/%{srcname}-*.egg-info/ %files doc +%license LICENSE %doc demos %changelog +* Tue Nov 03 2020 Fabian Affolter -6.1.0-1 +- Update to latest upstream release 6.1.0 (#1883858) + * Sun Sep 13 2020 Fabian Affolter - 6.0.4-1 -- Update to latest upstream release 6.0.3 (rhbz#1809858) +- Update to latest upstream release 6.0.3 (#1809858) * Wed Jul 29 2020 Fedora Release Engineering - 6.0.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild diff --git a/sources b/sources index 634f0c7..b1e9ee2 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (tornado-6.0.4.tar.gz) = d29d69cf40f8b34fb2c55d81b6ecd9bc7c6fdf644eb4ff35452829510c0d5ec185da0a6067fec3e8afb2bedf9f5f08b06adb0ad53dcab04cb791a75abc304d6e +SHA512 (tornado-6.1.0.tar.gz) = bd161a1c30f40f983d608297bca113735cb4baad255de71302a5b4d35be8c02afbc9820728efa912e62e1cbbfad8f92360261a69e0c8759f9e6cb477fbca31c7