# Created by pyp2rpm-3.1.2 %global pypi_name pytest-spec %global modname pytest_spec %global desc Pytest plugin to display test execution output like a SPECIFICATION.\ Available features:\ - Format output to look like specification.\ - Group tests by classes and files\ - Failed, passed and skipped are marked and colored.\ - Remove test_ and underscores for every test. Name: python-%{pypi_name} Version: 3.0.4 Release: 1%{?dist} Summary: Pytest plugin to display test execution output like a SPECIFICATION License: GPLv2+ URL: https://github.com/pchomik/%{pypi_name} Source0: https://github.com/pchomik/%{pypi_name}/archive/%{version}.tar.gz Source1: https://www.gnu.org/licenses/old-licenses/gpl-2.0.txt BuildArch: noarch BuildRequires: python3-devel BuildRequires: pyproject-rpm-macros # For tests, defined in pyproject.toml # in [tool.poetry.dev-dependencies] BuildRequires: python3-pytest BuildRequires: python3-mock %description %{desc} %package -n python3-%{pypi_name} Summary: %{summary} %{?python_provide:%python_provide python3-%{pypi_name}} %description -n python3-%{pypi_name} %{desc} %prep %autosetup -n %{pypi_name}-%{version} cp -p %{SOURCE1} LICENSE.txt # Remove bundled egg-info rm -rf %{pypi_name}.egg-info # Remove pytest config to disable # coverage and flake8 plugins rm -f setup.cfg %generate_buildrequires %pyproject_buildrequires -r %build %pyproject_wheel %install %pyproject_install %pyproject_save_files %{modname} %check %pytest %files -n python3-%{pypi_name} -f %pyproject_files %doc README.rst %license LICENSE.txt %changelog * Tue Sep 29 2020 Lumír Balhar - 3.0.4-1 - Update to 3.0.4 (#1883030) * Wed Sep 23 2020 Lumír Balhar - 3.0.0-1 - Update to 3.0.0 (#1881693) * Wed Jul 29 2020 Fedora Release Engineering - 2.0.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue May 26 2020 Miro Hrončok - 2.0.0-3 - Rebuilt for Python 3.9 * Thu Jan 30 2020 Fedora Release Engineering - 2.0.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Wed Dec 18 2019 Lumír Balhar - 2.0.0-1 - New upstream version (#1784635) * Thu Oct 03 2019 Miro Hrončok - 1.1.0-13 - Rebuilt for Python 3.8.0rc1 (#1748018) * Mon Aug 19 2019 Miro Hrončok - 1.1.0-12 - Rebuilt for Python 3.8 * Fri Jul 26 2019 Fedora Release Engineering - 1.1.0-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Mon May 06 2019 Lumír Balhar - 1.1.0-10 - Add a fix for [pytest] section name in setup.cfg * Sat Feb 02 2019 Fedora Release Engineering - 1.1.0-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Thu Oct 25 2018 Lumír Balhar - 1.1.0-8 - Remove Python 2 subpackage * Sat Jul 14 2018 Fedora Release Engineering - 1.1.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Tue Jun 19 2018 Miro Hrončok - 1.1.0-6 - Rebuilt for Python 3.7 * Fri Feb 09 2018 Fedora Release Engineering - 1.1.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 1.1.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sat Feb 11 2017 Fedora Release Engineering - 1.1.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Mon Dec 19 2016 Miro Hrončok - 1.1.0-2 - Rebuild for Python 3.6 * Wed Dec 07 2016 Lumir Balhar - 1.1.0-1 - New upstream release * Wed Jul 20 2016 Lumir Balhar - 1.0.1-1 - Initial package.