diff --git a/python-web.py.changes b/python-web.py.changes index 4d6c2d9..d203cf4 100644 --- a/python-web.py.changes +++ b/python-web.py.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Mar 26 07:10:49 UTC 2020 - Tomáš Chvátal + +- Fix the test requirements to pull in only what's really needed +- The cheroot is hard requirement by upstream specification so require it + ------------------------------------------------------------------- Wed Mar 25 18:16:04 UTC 2020 - Michael Ströder diff --git a/python-web.py.spec b/python-web.py.spec index e24b53c..11aa794 100644 --- a/python-web.py.spec +++ b/python-web.py.spec @@ -22,20 +22,17 @@ Version: 0.51 Release: 0 Summary: web.py: makes web apps License: SUSE-Public-Domain AND BSD-3-Clause -Group: Development/Languages/Python URL: https://webpy.org/ Source: https://files.pythonhosted.org/packages/source/w/web.py/web.py-%{version}.tar.gz -# SECTION test requirements -BuildRequires: %{python_module PyMySQL} -BuildRequires: %{python_module cheroot} -BuildRequires: %{python_module mysql-connector-python} -BuildRequires: %{python_module pytest} -# /SECTION BuildRequires: %{python_module setuptools} BuildRequires: fdupes -BuildRequires: python-devel -Recommends: python-cheroot +Requires: python-cheroot BuildArch: noarch +# SECTION test requirements +BuildRequires: %{python_module cheroot} +BuildRequires: %{python_module pytest} +BuildRequires: %{pythons} +# /SECTION %python_subpackages %description