From a1e3880b76b0e7659f7092c58a3c332802b72754 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Wed, 10 Oct 2018 15:40:30 +0200 Subject: [PATCH] Python2 binary package has been removed --- python-pdfkit.spec | 26 +++++--------------------- 1 file changed, 5 insertions(+), 21 deletions(-) diff --git a/python-pdfkit.spec b/python-pdfkit.spec index 26b65b8..8ed7c51 100644 --- a/python-pdfkit.spec +++ b/python-pdfkit.spec @@ -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 - 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 - 0.5.0-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild