#3 Version 0.15 including Python 3 subpackage
Opened a year ago by aries. Modified a year ago
rpms/ aries/python-coverage-test-runner master  into  master

@@ -2,8 +2,8 @@ 

  %global prjname coverage-test-runner

  

  Name:           python-%{prjname}

- Version:        1.11

- Release:        6%{?dist}

+ Version:        1.15

+ Release:        1%{?dist}

  Summary:        Python module for enforcing code coverage completeness

  

  License:        GPLv3+

@@ -35,25 +35,47 @@ 

  

  %description -n python2-%{prjname} %_description

  

+ %package -n python3-%{prjname}

+ Summary:        %summary

+ BuildRequires:  python3-devel

+ BuildRequires:  python3-coverage

+ Requires:       python3-coverage

+ %{?python_provide:%python_provide python3-%{prjname}}

+ 

+ %description -n python3-%{prjname} %_description

+ 

  %prep

  %autosetup

  

  %build

  %py2_build

+ %py3_build

  

  %install

  %py2_install

+ %py3_install

  

  %check

- make check

+ #make check

+ %{__python2} CoverageTestRunner.py subdir --ignore-missing-from=test-excluded

+ rm -f .coverage

+ %{__python3} CoverageTestRunner.py subdir --ignore-missing-from=test-excluded

+ rm -f .coverage

  

  %files -n python2-%{prjname}

  %license COPYING

  %doc NEWS README

- %{python2_sitelib}/%{pkgname}.py*

- %{python2_sitelib}/%{pkgname}-*.egg-info

+ %{python2_sitelib}/*

+ 

+ %files -n python3-%{prjname}

+ %license COPYING

+ %doc NEWS README

+ %{python3_sitelib}/*

  

  %changelog

+ * Tue Jan 2 2018 Jan Beran <jberan@redhat.com> - 1.15-1

+ - New version including Python 3 subpackage

+ 

  * Fri Aug 25 2017 Igor Gnatenko <ignatenko@redhat.com> - 1.11-6

  - Reference python2-coverage with python2 prefix