From e8a6dff1ccda59c7622404baef79905037f9009f Mon Sep 17 00:00:00 2001 From: Miro Hrončok Date: Nov 28 2019 10:04:55 +0000 Subject: Subpackage python2-PyPDF2 has been removed --- diff --git a/python-PyPDF2.spec b/python-PyPDF2.spec index f6ee799..ac6e6b2 100644 --- a/python-PyPDF2.spec +++ b/python-PyPDF2.spec @@ -1,10 +1,9 @@ %global srcname PyPDF2 -%global with_python3 1 %global sum Python PDF toolkit and library Name: python-%{srcname} Version: 1.26.0 -Release: 11%{?dist} +Release: 12%{?dist} License: BSD Summary: %{sum} Source: https://pypi.python.org/packages/source/P/%{srcname}/%{srcname}-%{version}.tar.gz @@ -28,33 +27,9 @@ dependencies on external libraries. It can also work entirely on StringIO objects rather than file streams, allowing for PDF manipulation in memory. It is therefore a useful tool for websites that manage or manipulate PDFs. -%package -n python2-%{srcname} -Summary: %{sum} -BuildRequires: python2-devel -BuildRequires: python2-libs -Obsoletes: python-%{srcname} <= 1.25.1-6 -%{?python_provide:%python_provide python2-%{srcname}} - - -%description -n python2-%{srcname} -A pure Python library built as a PDF toolkit. It is capable of: - -- extracting document information (title, author, ...), -- splitting documents page by page, -- merging documents page by page, -- cropping pages, -- merging multiple pages into a single page, -- encryption and decryption of PDF files. - -By being pure Python, it should run on any Python platform without any -dependencies on external libraries. It can also work entirely on StringIO -objects rather than file streams, allowing for PDF manipulation in memory. -It is therefore a useful tool for websites that manage or manipulate PDFs. - %package -n python3-%{srcname} Summary: %{sum} BuildRequires: python3-devel -BuildRequires: python2-libs %{?python_provide:%python_provide python3-%{srcname}} @@ -90,13 +65,11 @@ chmod a-x Scripts/* Sample_Code/* LICENSE README.md CHANGELOG %build -%py2_build %py3_build %install %py3_install -%py2_install %check @@ -104,10 +77,6 @@ chmod a-x Scripts/* Sample_Code/* LICENSE README.md CHANGELOG #python -m unittest Tests.tests -%files -n python2-%{srcname} -%{python2_sitelib}/* -%license LICENSE - %files -n python3-%{srcname} %{python3_sitelib}/* %license LICENSE @@ -117,6 +86,10 @@ chmod a-x Scripts/* Sample_Code/* LICENSE README.md CHANGELOG %license LICENSE %changelog +* Thu Nov 28 2019 Miro Hrončok - 1.26.0-12 +- Subpackage python2-PyPDF2 has been removed + See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal + * Thu Oct 03 2019 Miro Hrončok - 1.26.0-11 - Rebuilt for Python 3.8.0rc1 (#1748018)