diff --git a/python-pydyf.changes b/python-pydyf.changes index 2351db4..51a4e69 100644 --- a/python-pydyf.changes +++ b/python-pydyf.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Dec 15 07:53:09 UTC 2021 - pgajdos@suse.com + +- fix build (testsuite run) +- pytest-runner is not required for build + ------------------------------------------------------------------- Thu Nov 18 16:23:51 UTC 2021 - Axel Braun diff --git a/python-pydyf.spec b/python-pydyf.spec index 1a51754..a318eff 100644 --- a/python-pydyf.spec +++ b/python-pydyf.spec @@ -27,24 +27,21 @@ Summary: A low-level PDF generator License: BSD-3-Clause URL: https://www.courtbouillon.org/pydyf Source: https://files.pythonhosted.org/packages/source/p/pydyf/pydyf-%{version}.tar.gz -BuildRequires: python-rpm-macros BuildRequires: %{python_module setuptools} BuildRequires: fdupes +BuildRequires: python-rpm-macros BuildArch: noarch ## Testing -BuildRequires: %{python_module pytest-runner} -BuildRequires: %{python_module pytest-cov} -BuildRequires: %{python_module pytest-flake8} -BuildRequires: %{python_module pytest-isort} -BuildRequires: %{python_module coverage} +BuildRequires: %{python_module pytest} BuildRequires: %{python_module Pillow} +BuildRequires: %{python_module pytest-isort} BuildRequires: gs - %python_subpackages %description A low-level PDF generator written in Python and based on PDF specification 1.7. + %prep %setup -q -n pydyf-%{version} @@ -56,6 +53,7 @@ A low-level PDF generator written in Python and based on PDF specification 1.7. %python_expand %fdupes %{buildroot}%{$python_sitelib} %check +sed -i 's:--flake8 --cov --no-cov-on-fail::' pyproject.toml %pytest tests/test_pydyf.py %files %{python_files}