diff --git a/python-certifi.spec b/python-certifi.spec index 1b310db..bfb1225 100644 --- a/python-certifi.spec +++ b/python-certifi.spec @@ -2,7 +2,7 @@ Name: python-%{pypi_name} Version: 2016.9.26 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Python package for providing Mozilla's CA Bundle License: MPLv2.0 @@ -13,11 +13,6 @@ Patch1: certifi-2016.9.26-remove-bundle-cert.patch BuildArch: noarch -BuildRequires: python2-devel -BuildRequires: python-setuptools -BuildRequires: python3-setuptools -BuildRequires: python3-devel -Requires: python3 Requires: ca-certificates %description @@ -32,6 +27,8 @@ instead. For more details on this system, see the ca-certificates package. %package -n python2-%{pypi_name} Summary: %{sum} %{?python_provide:%python_provide python2-%{pypi_name}} +BuildRequires: python2-devel +BuildRequires: python%{?fedora:2}-setuptools %description -n python2-%{pypi_name} Certifi is a carefully curated collection of Root Certificates for validating @@ -45,12 +42,14 @@ instead. For more details on this system, see the ca-certificates package. This package provides the Python 2 certifi library. -%package -n python3-%{pypi_name} +%package -n python%{python3_pkgversion}-%{pypi_name} Summary: Python 3 package for providing Mozilla's CA Bundle Group: Development/Libraries -%{?python_provide:%python_provide python3-%{pypi_name}} +%{?python_provide:%python_provide python%{python3_pkgversion}-%{pypi_name}} +BuildRequires: python%{python3_pkgversion}-devel +BuildRequires: python%{python3_pkgversion}-setuptools -%description -n python3-%{pypi_name} +%description -n python%{python3_pkgversion}-%{pypi_name} Certifi is a carefully curated collection of Root Certificates for validating the trustworthiness of SSL certificates while verifying the identity of TLS hosts. It has been extracted from the Requests project. @@ -86,12 +85,15 @@ find %{_builddir}/%{pypi_name}-%{version} -name '*.py' \ %{python2_sitelib}/%{pypi_name} %{python2_sitelib}/%{pypi_name}-*-py?.?.egg-info -%files -n python3-%{pypi_name} +%files -n python%{python3_pkgversion}-%{pypi_name} %doc README.rst %{python3_sitelib}/%{pypi_name} %{python3_sitelib}/%{pypi_name}-*-py?.?.egg-info %changelog +* Thu Oct 12 2017 Carl George - 2016.9.26-4 +- EPEL compatibility + * Thu Jul 27 2017 Fedora Release Engineering - 2016.9.26-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild