bc4fd30
%{?python_enable_dependency_generator}
e00695d
# Created by pyp2rpm-1.0.1
e00695d
%global pypi_name cov-core
827fa26
%global summary Plugin core for use by pytest-cov, nose-cov and nose2-cov
827fa26
%global _description \
827fa26
This is a lib package for use by pytest-cov, nose-cov and nose2-cov. \
2059d0b
If you're developing a coverage plugin for a test framework then you \
827fa26
probably want one of those.
e00695d
e00695d
Name:           python-%{pypi_name}
0165fc9
Version:        1.15.0
59338d2
Release:        14%{?dist}
827fa26
Summary:        %{summary}
e00695d
e00695d
License:        MIT
e00695d
URL:            http://bitbucket.org/memedough/cov-core/overview
e00695d
Source0:        https://pypi.python.org/packages/source/c/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
e00695d
BuildArch:      noarch
e00695d
 
827fa26
%description %{_description}
e00695d
827fa26
# Python3
827fa26
%package -n     python%{python3_pkgversion}-%{pypi_name}
827fa26
Summary:        %{summary}
bc4fd30
BuildRequires:  python%{python3_pkgversion}-devel
bc4fd30
BuildRequires:  python%{python3_pkgversion}-setuptools
827fa26
%{?python_provide:%python_provide python%{python3_pkgversion}-%{pypi_name}}
bc4fd30
%if %{undefined __pythondist_requires}
827fa26
Requires:       python%{python3_pkgversion}-coverage >= 3.6
bc4fd30
%endif
827fa26
827fa26
%description -n python%{python3_pkgversion}-%{pypi_name} %{_description}
827fa26
827fa26
%if 0%{?with_python3_other}
827fa26
%package -n python%{python3_other_pkgversion}-%{pypi_name}
827fa26
Summary: %{summary}
bc4fd30
BuildRequires:  python%{python3_other_pkgversion}-devel
bc4fd30
BuildRequires:  python%{python3_other_pkgversion}-setuptools
827fa26
%{?python_provide:%python_provide python%{python3_other_pkgversion}-%{pypi_name}}
bc4fd30
%if %{undefined __pythondist_requires}
bc4fd30
Requires: python%{python3_other_pkgversion}-coverage >= 3.6
bc4fd30
%endif
827fa26
827fa26
%description -n python%{python3_other_pkgversion}-%{pypi_name} %{_description}
827fa26
%endif
e00695d
e00695d
e00695d
%prep
e00695d
%setup -q -n %{pypi_name}-%{version}
e00695d
# Remove bundled egg-info
e00695d
rm -rf %{pypi_name}.egg-info
e00695d
e00695d
e00695d
%build
827fa26
%py3_build
827fa26
%if 0%{?with_python3_other}
827fa26
%py3_other_build
827fa26
%endif
e00695d
e00695d
e00695d
%install
e00695d
# Must do the subpackages' install first because the scripts in /usr/bin are
e00695d
# overwritten with every setup.py install (and we want the python2 version
e00695d
# to be the default for now).
827fa26
%if 0%{?with_python3_other}
827fa26
%py3_other_install
827fa26
%endif
827fa26
%py3_install
e00695d
e00695d
827fa26
# Python3
827fa26
%files -n python%{python3_pkgversion}-%{pypi_name}
827fa26
%license LICENSE.txt
827fa26
%doc README.rst
e00695d
%{python3_sitelib}/cov_core*
e00695d
%{python3_sitelib}/__pycache__/*
827fa26
827fa26
%if 0%{?with_python3_other}
827fa26
%files -n python%{python3_other_pkgversion}-%{pypi_name}
827fa26
%license LICENSE.txt
827fa26
%doc README.rst
827fa26
%{python3_other_sitelib}/cov_core*
827fa26
%{python3_other_sitelib}/__pycache__/*
827fa26
%endif
827fa26
e00695d
e00695d
%changelog
59338d2
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.15.0-14
59338d2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
59338d2
bc4fd30
* Fri Jan 04 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.15.0-13
bc4fd30
- Enable python dependency generator
bc4fd30
67755de
* Fri Jan 04 2019 Miro Hrončok <mhroncok@redhat.com> - 1.15.0-12
67755de
- Remove python2 subpackage
67755de
199d3df
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.15.0-11
199d3df
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
199d3df
e816e3f
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 1.15.0-10
e816e3f
- Rebuilt for Python 3.7
e816e3f
3e0fcf3
* Wed Feb 21 2018 Iryna Shcherbina <ishcherb@redhat.com> - 1.15.0-9
3e0fcf3
- Update Python 2 dependency declarations to new packaging standards
3e0fcf3
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
3e0fcf3
d232960
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.15.0-8
d232960
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
d232960
a1c0994
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.15.0-7
a1c0994
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
a1c0994
827fa26
* Tue Apr 25 2017 Aurelien Bompard <abompard@fedoraproject.org> - 1.15.0-6
827fa26
- Build the Python3 version in EPEL.
77f6eb8
- Use the proper Python namespace.
827fa26
178e910
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.15.0-5
178e910
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
178e910
ffc9dac
* Mon Dec 12 2016 Charalampos Stratakis <cstratak@redhat.com> - 1.15.0-4
ffc9dac
- Rebuild for Python 3.6
ffc9dac
f9912b5
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.15.0-3
f9912b5
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
f9912b5
91b4153
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.15.0-2
91b4153
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
91b4153
0165fc9
* Fri Nov 13 2015 bkabrda <bkabrda@redhat.com> - 1.15.0-1
0165fc9
- Updated to 1.15.0
0165fc9
33272b0
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7-6
33272b0
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
33272b0
593998b
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7-5
593998b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
593998b
f9bfd63
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7-4
f9bfd63
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
f9bfd63
27b2c50
* Tue May 13 2014 Bohuslav Kabrda <bkabrda@redhat.com> - 1.7-3
27b2c50
- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4
27b2c50
303d098
* Mon Sep 16 2013 Bohuslav Kabrda <bkabrda@redhat.com> - 1.7-2
303d098
- Add BR: python-setuptools.
303d098
e00695d
* Thu Sep 05 2013 Bohuslav Kabrda <bkabrda@redhat.com> - 1.7-1
e00695d
- Initial package.