Python2 binary package has been removed

This commit is contained in:
Miro Hrončok 2018-10-10 15:40:30 +02:00
commit a1e3880b76

View file

@ -2,7 +2,7 @@
Name: python-%{pypi_name}
Version: 0.5.0
Release: 11%{?dist}
Release: 12%{?dist}
Summary: Wkhtmltopdf python wrapper
Group: Development/Libraries
@ -11,8 +11,6 @@ URL: https://github.com/JazzCore/python-pdfkit
Source0: https://pypi.python.org/packages/source/p/%{pypi_name}/%{pypi_name}-%{version}.zip
BuildArch: noarch
BuildRequires: python2-setuptools
BuildRequires: python2-devel
BuildRequires: python3-setuptools
BuildRequires: python3-devel
BuildRequires: python3
@ -26,15 +24,6 @@ Python 2 wrapper for wkhtmltopdf utility to convert HTML to PDF using Webkit.
This is an adapted version of Ruby PDFKit.
%package -n python2-%{pypi_name}
Summary: Wkhtmltopdf python wrapper
Group: Development/Libraries
%{?python_provide:%python_provide python2-%{pypi_name}}
%description -n python2-%{pypi_name}
Python 2 wrapper for wkhtmltopdf utility to convert HTML to PDF using Webkit.
This is an adapted version of Ruby PDFKit.
%package -n python3-%{pypi_name}
Summary: Wkhtmltopdf python wrapper
Group: Development/Libraries
@ -50,20 +39,11 @@ This is an adapted version of Ruby PDFKit.
rm -rf %{pypi_name}.egg-info
%build
%py2_build
%py3_build
%install
%py2_install
%py3_install
%files -n python2-%{pypi_name}
%{!?_licensedir:%global license %%doc}
%license LICENSE
%doc README.rst LICENSE HISTORY.rst
%{python2_sitelib}/%{pypi_name}
%{python2_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info
%files -n python3-%{pypi_name}
%{!?_licensedir:%global license %%doc}
%license LICENSE
@ -72,6 +52,10 @@ rm -rf %{pypi_name}.egg-info
%{python3_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info
%changelog
* Wed Oct 10 2018 Miro Hrončok <mhroncok@redhat.com> - 0.5.0-12
- Python2 binary package has been removed
See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild