From 036fd16701e9d4b4f04c7d240fb3f5d98a789e46c3cf59a4472bd334902780dd Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Wed, 8 Apr 2020 18:51:57 +0000 Subject: [PATCH] - Don't build-require bzr, just suggest it, it is not that necessary. - Switch tests to using pytest as a test runner. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-check-manifest?expand=0&rev=11 --- python-check-manifest.changes | 6 ++++++ python-check-manifest.spec | 6 +++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/python-check-manifest.changes b/python-check-manifest.changes index e768ced..e5e907c 100644 --- a/python-check-manifest.changes +++ b/python-check-manifest.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Apr 8 18:47:22 UTC 2020 - Matej Cepl + +- Don't build-require bzr, just suggest it, it is not that necessary. +- Switch tests to using pytest as a test runner. + ------------------------------------------------------------------- Wed Oct 23 13:51:47 UTC 2019 - Marketa Calabkova diff --git a/python-check-manifest.spec b/python-check-manifest.spec index bc0ebc2..a2801a5 100644 --- a/python-check-manifest.spec +++ b/python-check-manifest.spec @@ -1,7 +1,7 @@ # # spec file for package python-check-manifest # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -26,9 +26,9 @@ Group: Development/Languages/Python URL: https://github.com/mgedmin/check-manifest Source: https://files.pythonhosted.org/packages/source/c/check-manifest/check-manifest-%{version}.tar.gz BuildRequires: %{python_module mock} +BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module toml} -BuildRequires: bzr BuildRequires: fdupes BuildRequires: git-core BuildRequires: mercurial @@ -61,7 +61,7 @@ chmod -x check_manifest.py %check export LANG=en_US.UTF-8 -%python_exec setup.py test +%pytest %files %{python_files} %doc CHANGES.rst README.rst