diff --git a/python-nose-cov.spec b/python-nose-cov.spec index 116ea44..edd08d0 100644 --- a/python-nose-cov.spec +++ b/python-nose-cov.spec @@ -1,4 +1,3 @@ - Name: python-nose-cov Version: 1.6 Release: 12%{?dist} @@ -8,22 +7,12 @@ License: MIT BuildArch: noarch Url: http://bitbucket.org/memedough/nose-cov/overview -BuildRequires: python2-devel -BuildRequires: python2-setuptools BuildRequires: python3-devel BuildRequires: python3-setuptools %description This plugin produces coverage reports and supports coverage of subprocesses. -%package -n python2-nose-cov -Summary: nose plugin for coverage reporting, including subprocesses and multiprocessing -Requires: python2-nose -Requires: python2-cov-core -%{?python_provide:%python_provide python2-nose-cov} -%description -n python2-nose-cov -This plugin produces coverage reports and supports coverage of subprocesses. - %package -n python3-nose-cov Summary: nose plugin for coverage reporting, including subprocesses and multiprocessing Requires: python3-nose @@ -35,22 +24,16 @@ This plugin produces coverage reports and supports coverage of subprocesses. %prep %setup -q -n nose-cov-%{version} rm -rf nose_cov.egg-info -rm -rf %{py3dir} -cp -a . %{py3dir} + %build -%py2_build %py3_build + %install -%py2_install %py3_install -%files -n python2-nose-cov -%doc README.txt -%doc LICENSE.txt -%{python2_sitelib}/nose_cov*.egg-info -%{python2_sitelib}/nose_cov.py* + %files -n python3-nose-cov %doc README.txt %doc LICENSE.txt @@ -58,7 +41,11 @@ cp -a . %{py3dir} %{python3_sitelib}/nose_cov.py* %{python3_sitelib}/__pycache__/* + %changelog +* Thu Mar 22 2018 John Dulaney - 1.6-13 +- Drop python2 subpackage + * Fri Feb 09 2018 Fedora Release Engineering - 1.6-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild