From 399d6831e82f4c13f16eb66931998479e2ab4fb3 Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Nov 10 2015 15:03:31 +0000 Subject: [PATCH 1/37] - Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5 --- diff --git a/python-PyPDF2.spec b/python-PyPDF2.spec index 37c89e7..1a5d5d8 100644 --- a/python-PyPDF2.spec +++ b/python-PyPDF2.spec @@ -2,7 +2,7 @@ Name: python-PyPDF2 Version: 1.25.1 -Release: 2%{?dist} +Release: 3%{?dist} License: BSD Summary: Python PDF toolkit and library Group: Development/Libraries @@ -121,6 +121,9 @@ chmod a-x Scripts/* Sample_Code/* LICENSE README.md CHANGELOG %license LICENSE %changelog +* Tue Nov 10 2015 Fedora Release Engineering - 1.25.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5 + * Wed Sep 23 2015 Major Hayden - 1.25.1-2 - Additional package review fixes From e611d959d7b8488af4d79b0270ad230da7e18aa7 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Feb 04 2016 18:52:48 +0000 Subject: [PATCH 2/37] - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild --- diff --git a/python-PyPDF2.spec b/python-PyPDF2.spec index 1a5d5d8..41e1e4b 100644 --- a/python-PyPDF2.spec +++ b/python-PyPDF2.spec @@ -2,7 +2,7 @@ Name: python-PyPDF2 Version: 1.25.1 -Release: 3%{?dist} +Release: 4%{?dist} License: BSD Summary: Python PDF toolkit and library Group: Development/Libraries @@ -121,6 +121,9 @@ chmod a-x Scripts/* Sample_Code/* LICENSE README.md CHANGELOG %license LICENSE %changelog +* Thu Feb 04 2016 Fedora Release Engineering - 1.25.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + * Tue Nov 10 2015 Fedora Release Engineering - 1.25.1-3 - Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5 From 65bf3e85d55d0f5eb96b8b519ec4586d3adbd0ab Mon Sep 17 00:00:00 2001 From: Major Hayden Date: May 05 2016 19:46:28 +0000 Subject: [PATCH 3/37] Fixed Python 3 packaging --- diff --git a/python-PyPDF2.spec b/python-PyPDF2.spec index 41e1e4b..cab99d0 100644 --- a/python-PyPDF2.spec +++ b/python-PyPDF2.spec @@ -1,26 +1,43 @@ %global with_python3 1 +%global sum Python PDF toolkit and library Name: python-PyPDF2 Version: 1.25.1 -Release: 4%{?dist} +Release: 5%{?dist} License: BSD -Summary: Python PDF toolkit and library +Summary: %{sum} Group: Development/Libraries Source: https://pypi.python.org/packages/source/P/PyPDF2/PyPDF2-%{version}.tar.gz URL: https://github.com/mstamy2/PyPDF2 -BuildRequires: python2-devel -BuildRequires: python-libs BuildArch: noarch -%if 0%{?with_python3} -BuildRequires: python3-devel -BuildRequires: python3-libs -%endif %description 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 python2-PyPDF2 +Summary: %{sum} +BuildRequires: python2-devel +BuildRequires: python-libs +%{?python_provide:%python_provide python2-%{srcname}} + + +%description -n python2-PyPDF2 +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, @@ -33,13 +50,16 @@ 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. -%if 0%{?with_python3} %package -n python3-PyPDF2 -Summary: Python PDF toolkit and library +Summary: %{sum} +BuildRequires: python3-devel +BuildRequires: python-libs +%{?python_provide:%python_provide python3-%{srcname}} -%description -n python3-PyPDF2 + +%description -n python3-PyPDF2 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, @@ -51,7 +71,6 @@ 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. -%endif %package -n python-PyPDF2-doc Summary: Documentation for python-PyPDF2 @@ -60,44 +79,23 @@ Summary: Documentation for python-PyPDF2 python-PyPDF2 contains documentation and examples for the python-PyPDF package %prep -%setup -q -n PyPDF2-%{version} - - -%build -# Build for Python 3 -%if 0%{?with_python3} -%{__python3} setup.py build -mv build build3 -%endif - -# Build for Python 2 -%{__python2} setup.py build -mv build build2 - - -%install -mv build2 build -%{__python2} setup.py install --skip-build --root %{buildroot} +%autosetup -n PyPDF2-%{version} # non-executable script -sed -i -e '/^#!\//, 1d' %{buildroot}%{python2_sitelib}/PyPDF2/pagerange.py +sed -i -e '/^#!\//, 1d' PyPDF2/pagerange.py # Lots of things in the repo shouldn't be executable chmod a-x Scripts/* Sample_Code/* LICENSE README.md CHANGELOG -rm -rf build -%if 0%{?with_python3} -mv build3 build -%{__python3} setup.py install --skip-build --root %{buildroot} +%build +%py2_build +%py3_build -# non-executable script -sed -i -e '/^#!\//, 1d' %{buildroot}%{python3_sitelib}/PyPDF2/pagerange.py -# Lots of things in the repo shouldn't be executable -chmod a-x Scripts/* Sample_Code/* LICENSE README.md CHANGELOG - -%endif +%install +%py3_install +%py2_install %check @@ -105,22 +103,23 @@ chmod a-x Scripts/* Sample_Code/* LICENSE README.md CHANGELOG #python -m unittest Tests.tests -%files +%files -n python2-PyPDF2 %defattr(-,root,root,-) %{python2_sitelib}/* %license LICENSE -%if 0%{?with_python3} %files -n python3-PyPDF2 %{python3_sitelib}/* %license LICENSE -%endif %files -n python-PyPDF2-doc %doc README.md CHANGELOG Scripts/ Sample_Code/ %license LICENSE %changelog +* Thu May 5 2016 Major Hayden - 1.25.1-5 +- Fixed Python 3 packaging + * Thu Feb 04 2016 Fedora Release Engineering - 1.25.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild From 301e5bc24f2850cda8de506ebd772a2a08d74005 Mon Sep 17 00:00:00 2001 From: Major Hayden Date: May 05 2016 20:17:32 +0000 Subject: [PATCH 4/37] Adding obsoletes tag --- diff --git a/python-PyPDF2.spec b/python-PyPDF2.spec index cab99d0..dfe1747 100644 --- a/python-PyPDF2.spec +++ b/python-PyPDF2.spec @@ -3,7 +3,7 @@ Name: python-PyPDF2 Version: 1.25.1 -Release: 5%{?dist} +Release: 6%{?dist} License: BSD Summary: %{sum} Group: Development/Libraries @@ -32,6 +32,7 @@ It is therefore a useful tool for websites that manage or manipulate PDFs. Summary: %{sum} BuildRequires: python2-devel BuildRequires: python-libs +Obsoletes: python-PyPDF2 %{?python_provide:%python_provide python2-%{srcname}} @@ -109,6 +110,7 @@ chmod a-x Scripts/* Sample_Code/* LICENSE README.md CHANGELOG %license LICENSE %files -n python3-PyPDF2 +%defattr(-,root,root,-) %{python3_sitelib}/* %license LICENSE @@ -117,6 +119,9 @@ chmod a-x Scripts/* Sample_Code/* LICENSE README.md CHANGELOG %license LICENSE %changelog +* Thu May 5 2016 Major Hayden - 1.25.1-6 +- Adding obsoletes tag + * Thu May 5 2016 Major Hayden - 1.25.1-5 - Fixed Python 3 packaging From c7f3c9bb982d069e0516b5186a84819885b5b1be Mon Sep 17 00:00:00 2001 From: Major Hayden Date: May 16 2016 14:06:54 +0000 Subject: [PATCH 5/37] Adding version to obsoletes tag --- diff --git a/python-PyPDF2.spec b/python-PyPDF2.spec index dfe1747..5e1f9ea 100644 --- a/python-PyPDF2.spec +++ b/python-PyPDF2.spec @@ -3,7 +3,7 @@ Name: python-PyPDF2 Version: 1.25.1 -Release: 6%{?dist} +Release: 7%{?dist} License: BSD Summary: %{sum} Group: Development/Libraries @@ -32,7 +32,7 @@ It is therefore a useful tool for websites that manage or manipulate PDFs. Summary: %{sum} BuildRequires: python2-devel BuildRequires: python-libs -Obsoletes: python-PyPDF2 +Obsoletes: python-PyPDF2i <= 1.25.1-6 %{?python_provide:%python_provide python2-%{srcname}} @@ -119,6 +119,9 @@ chmod a-x Scripts/* Sample_Code/* LICENSE README.md CHANGELOG %license LICENSE %changelog +* Mon May 16 2016 Major Hayden - 1.25.1-7 +- Adding version number to obsoletes tag + * Thu May 5 2016 Major Hayden - 1.25.1-6 - Adding obsoletes tag From 53f73d0dbcf11bd4708e6f03e1481119cd6c3d53 Mon Sep 17 00:00:00 2001 From: Major Hayden Date: May 16 2016 14:36:06 +0000 Subject: [PATCH 6/37] Correcting typo --- diff --git a/python-PyPDF2.spec b/python-PyPDF2.spec index 5e1f9ea..b979556 100644 --- a/python-PyPDF2.spec +++ b/python-PyPDF2.spec @@ -3,7 +3,7 @@ Name: python-PyPDF2 Version: 1.25.1 -Release: 7%{?dist} +Release: 8%{?dist} License: BSD Summary: %{sum} Group: Development/Libraries @@ -32,7 +32,7 @@ It is therefore a useful tool for websites that manage or manipulate PDFs. Summary: %{sum} BuildRequires: python2-devel BuildRequires: python-libs -Obsoletes: python-PyPDF2i <= 1.25.1-6 +Obsoletes: python-PyPDF2 <= 1.25.1-6 %{?python_provide:%python_provide python2-%{srcname}} @@ -119,6 +119,9 @@ chmod a-x Scripts/* Sample_Code/* LICENSE README.md CHANGELOG %license LICENSE %changelog +* Mon May 16 2016 Major Hayden - 1.25.1-8 +- Correcting typo + * Mon May 16 2016 Major Hayden - 1.25.1-7 - Adding version number to obsoletes tag From b3418eb3d6abc6a572710f964c7e3eff568c7545 Mon Sep 17 00:00:00 2001 From: Major Hayden Date: May 19 2016 14:55:18 +0000 Subject: [PATCH 7/37] Removing srcname variable in Provides --- diff --git a/python-PyPDF2.spec b/python-PyPDF2.spec index b979556..3d07e60 100644 --- a/python-PyPDF2.spec +++ b/python-PyPDF2.spec @@ -3,7 +3,7 @@ Name: python-PyPDF2 Version: 1.25.1 -Release: 8%{?dist} +Release: 9%{?dist} License: BSD Summary: %{sum} Group: Development/Libraries @@ -33,7 +33,7 @@ Summary: %{sum} BuildRequires: python2-devel BuildRequires: python-libs Obsoletes: python-PyPDF2 <= 1.25.1-6 -%{?python_provide:%python_provide python2-%{srcname}} +%{?python_provide:%python_provide python2-PyPDF} %description -n python2-PyPDF2 @@ -55,7 +55,7 @@ It is therefore a useful tool for websites that manage or manipulate PDFs. Summary: %{sum} BuildRequires: python3-devel BuildRequires: python-libs -%{?python_provide:%python_provide python3-%{srcname}} +%{?python_provide:%python_provide python3-PyPDF2} %description -n python3-PyPDF2 @@ -119,6 +119,9 @@ chmod a-x Scripts/* Sample_Code/* LICENSE README.md CHANGELOG %license LICENSE %changelog +* Thu May 19 2016 Major Hayden - 1.25.1-9 +- Removing srcname variable in Provides + * Mon May 16 2016 Major Hayden - 1.25.1-8 - Correcting typo From 28a8a0d5ea5e87519391d0cb6cb034103653e640 Mon Sep 17 00:00:00 2001 From: Major Hayden Date: May 19 2016 14:55:37 +0000 Subject: [PATCH 8/37] Removing srcname variable in Provides --- diff --git a/python-PyPDF2.spec b/python-PyPDF2.spec index b979556..3d07e60 100644 --- a/python-PyPDF2.spec +++ b/python-PyPDF2.spec @@ -3,7 +3,7 @@ Name: python-PyPDF2 Version: 1.25.1 -Release: 8%{?dist} +Release: 9%{?dist} License: BSD Summary: %{sum} Group: Development/Libraries @@ -33,7 +33,7 @@ Summary: %{sum} BuildRequires: python2-devel BuildRequires: python-libs Obsoletes: python-PyPDF2 <= 1.25.1-6 -%{?python_provide:%python_provide python2-%{srcname}} +%{?python_provide:%python_provide python2-PyPDF} %description -n python2-PyPDF2 @@ -55,7 +55,7 @@ It is therefore a useful tool for websites that manage or manipulate PDFs. Summary: %{sum} BuildRequires: python3-devel BuildRequires: python-libs -%{?python_provide:%python_provide python3-%{srcname}} +%{?python_provide:%python_provide python3-PyPDF2} %description -n python3-PyPDF2 @@ -119,6 +119,9 @@ chmod a-x Scripts/* Sample_Code/* LICENSE README.md CHANGELOG %license LICENSE %changelog +* Thu May 19 2016 Major Hayden - 1.25.1-9 +- Removing srcname variable in Provides + * Mon May 16 2016 Major Hayden - 1.25.1-8 - Correcting typo From 2af837485a319f92f3368f58c60720f979e09c99 Mon Sep 17 00:00:00 2001 From: Major Hayden Date: May 19 2016 16:07:22 +0000 Subject: [PATCH 9/37] Correcting python_provides tag --- diff --git a/python-PyPDF2.spec b/python-PyPDF2.spec index 3d07e60..d965542 100644 --- a/python-PyPDF2.spec +++ b/python-PyPDF2.spec @@ -33,7 +33,7 @@ Summary: %{sum} BuildRequires: python2-devel BuildRequires: python-libs Obsoletes: python-PyPDF2 <= 1.25.1-6 -%{?python_provide:%python_provide python2-PyPDF} +%{?python_provide:%python_provide python2-PyPDF2} %description -n python2-PyPDF2 From 90c679f489b71998c6a297d36fc00aabf1d324be Mon Sep 17 00:00:00 2001 From: Major Hayden Date: May 19 2016 16:10:00 +0000 Subject: [PATCH 10/37] Correcting python_provides tag --- diff --git a/python-PyPDF2.spec b/python-PyPDF2.spec index 3d07e60..d965542 100644 --- a/python-PyPDF2.spec +++ b/python-PyPDF2.spec @@ -33,7 +33,7 @@ Summary: %{sum} BuildRequires: python2-devel BuildRequires: python-libs Obsoletes: python-PyPDF2 <= 1.25.1-6 -%{?python_provide:%python_provide python2-PyPDF} +%{?python_provide:%python_provide python2-PyPDF2} %description -n python2-PyPDF2 From 9fc8d055d15c86432d4aca3031315161bfc9303e Mon Sep 17 00:00:00 2001 From: Major Hayden Date: May 19 2016 16:11:04 +0000 Subject: [PATCH 11/37] Bumping revision --- diff --git a/python-PyPDF2.spec b/python-PyPDF2.spec index d965542..de311ba 100644 --- a/python-PyPDF2.spec +++ b/python-PyPDF2.spec @@ -3,7 +3,7 @@ Name: python-PyPDF2 Version: 1.25.1 -Release: 9%{?dist} +Release: 10%{?dist} License: BSD Summary: %{sum} Group: Development/Libraries @@ -119,6 +119,9 @@ chmod a-x Scripts/* Sample_Code/* LICENSE README.md CHANGELOG %license LICENSE %changelog +* Thu May 19 2016 Major Hayden - 1.25.1-10 +- Correcting python_provides line for python2 + * Thu May 19 2016 Major Hayden - 1.25.1-9 - Removing srcname variable in Provides From f11f4d7f0a2a4ad37100cc1200f0c2f2e89779b2 Mon Sep 17 00:00:00 2001 From: Major Hayden Date: May 19 2016 16:11:10 +0000 Subject: [PATCH 12/37] Merge branch 'master' into f24 --- diff --git a/python-PyPDF2.spec b/python-PyPDF2.spec index d965542..de311ba 100644 --- a/python-PyPDF2.spec +++ b/python-PyPDF2.spec @@ -3,7 +3,7 @@ Name: python-PyPDF2 Version: 1.25.1 -Release: 9%{?dist} +Release: 10%{?dist} License: BSD Summary: %{sum} Group: Development/Libraries @@ -119,6 +119,9 @@ chmod a-x Scripts/* Sample_Code/* LICENSE README.md CHANGELOG %license LICENSE %changelog +* Thu May 19 2016 Major Hayden - 1.25.1-10 +- Correcting python_provides line for python2 + * Thu May 19 2016 Major Hayden - 1.25.1-9 - Removing srcname variable in Provides From cf434ad556956b46d342b5fd85150c28d34096c8 Mon Sep 17 00:00:00 2001 From: Major Hayden Date: May 20 2016 18:26:57 +0000 Subject: [PATCH 13/37] Adding provides tag to help with dep problems --- diff --git a/python-PyPDF2.spec b/python-PyPDF2.spec index de311ba..e854ec4 100644 --- a/python-PyPDF2.spec +++ b/python-PyPDF2.spec @@ -3,7 +3,7 @@ Name: python-PyPDF2 Version: 1.25.1 -Release: 10%{?dist} +Release: 11%{?dist} License: BSD Summary: %{sum} Group: Development/Libraries @@ -33,6 +33,7 @@ Summary: %{sum} BuildRequires: python2-devel BuildRequires: python-libs Obsoletes: python-PyPDF2 <= 1.25.1-6 +Provides: python-PyPDF2 %{?python_provide:%python_provide python2-PyPDF2} @@ -119,6 +120,9 @@ chmod a-x Scripts/* Sample_Code/* LICENSE README.md CHANGELOG %license LICENSE %changelog +* Fri May 20 2016 Major Hayden - 1.25.1-11 +- Adding Provides tag to fix dependency problems + * Thu May 19 2016 Major Hayden - 1.25.1-10 - Correcting python_provides line for python2 From 15f6421b09cf8d70e8c840908e576a0366d2d225 Mon Sep 17 00:00:00 2001 From: Major Hayden Date: May 20 2016 18:27:56 +0000 Subject: [PATCH 14/37] Adding provides tag to help with dep problems --- diff --git a/python-PyPDF2.spec b/python-PyPDF2.spec index de311ba..e854ec4 100644 --- a/python-PyPDF2.spec +++ b/python-PyPDF2.spec @@ -3,7 +3,7 @@ Name: python-PyPDF2 Version: 1.25.1 -Release: 10%{?dist} +Release: 11%{?dist} License: BSD Summary: %{sum} Group: Development/Libraries @@ -33,6 +33,7 @@ Summary: %{sum} BuildRequires: python2-devel BuildRequires: python-libs Obsoletes: python-PyPDF2 <= 1.25.1-6 +Provides: python-PyPDF2 %{?python_provide:%python_provide python2-PyPDF2} @@ -119,6 +120,9 @@ chmod a-x Scripts/* Sample_Code/* LICENSE README.md CHANGELOG %license LICENSE %changelog +* Fri May 20 2016 Major Hayden - 1.25.1-11 +- Adding Provides tag to fix dependency problems + * Thu May 19 2016 Major Hayden - 1.25.1-10 - Correcting python_provides line for python2 From 2ff095d6bf1455abbeb3f90b53daf00f7d1c3dfb Mon Sep 17 00:00:00 2001 From: Major Hayden Date: May 20 2016 18:37:54 +0000 Subject: [PATCH 15/37] Setting srcname variable --- diff --git a/python-PyPDF2.spec b/python-PyPDF2.spec index e854ec4..622000b 100644 --- a/python-PyPDF2.spec +++ b/python-PyPDF2.spec @@ -1,13 +1,14 @@ +%global srcname PyPDF2 %global with_python3 1 %global sum Python PDF toolkit and library -Name: python-PyPDF2 +Name: python-%{srcname} Version: 1.25.1 Release: 11%{?dist} License: BSD Summary: %{sum} Group: Development/Libraries -Source: https://pypi.python.org/packages/source/P/PyPDF2/PyPDF2-%{version}.tar.gz +Source: https://pypi.python.org/packages/source/P/%{srcname}/%{srcname}-%{version}.tar.gz URL: https://github.com/mstamy2/PyPDF2 BuildArch: noarch @@ -28,16 +29,15 @@ 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-PyPDF2 +%package -n python2-%{srcname} Summary: %{sum} BuildRequires: python2-devel BuildRequires: python-libs -Obsoletes: python-PyPDF2 <= 1.25.1-6 -Provides: python-PyPDF2 -%{?python_provide:%python_provide python2-PyPDF2} +Obsoletes: python-%{srcname} <= 1.25.1-6 +%{?python_provide:%python_provide python2-%{srcname}} -%description -n python2-PyPDF2 +%description -n python2-%{srcname} A pure Python library built as a PDF toolkit. It is capable of: - extracting document information (title, author, ...), @@ -52,14 +52,14 @@ 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-PyPDF2 +%package -n python3-%{srcname} Summary: %{sum} BuildRequires: python3-devel BuildRequires: python-libs -%{?python_provide:%python_provide python3-PyPDF2} +%{?python_provide:%python_provide python3-%{srcname}} -%description -n python3-PyPDF2 +%description -n python3-%{srcname} A pure Python library built as a PDF toolkit. It is capable of: - extracting document information (title, author, ...), @@ -74,14 +74,14 @@ 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 python-PyPDF2-doc -Summary: Documentation for python-PyPDF2 +%package -n python-%{srcname}-doc +Summary: Documentation for python-%{srcname} -%description -n python-PyPDF2-doc +%description -n python-%{srcname}-doc python-PyPDF2 contains documentation and examples for the python-PyPDF package %prep -%autosetup -n PyPDF2-%{version} +%autosetup -n %{srcname}-%{version} # non-executable script sed -i -e '/^#!\//, 1d' PyPDF2/pagerange.py @@ -105,21 +105,25 @@ chmod a-x Scripts/* Sample_Code/* LICENSE README.md CHANGELOG #python -m unittest Tests.tests -%files -n python2-PyPDF2 +%files -n python2-%{srcname} %defattr(-,root,root,-) %{python2_sitelib}/* %license LICENSE -%files -n python3-PyPDF2 +%files -n python3-%{srcname} %defattr(-,root,root,-) %{python3_sitelib}/* %license LICENSE -%files -n python-PyPDF2-doc +%files -n python-%{srcname}-doc %doc README.md CHANGELOG Scripts/ Sample_Code/ %license LICENSE %changelog +* Fri May 20 2016 Major Hayden - 1.25.1-12 +- Setting srcname variable so python_provide works properly +- Removing Provides tag + * Fri May 20 2016 Major Hayden - 1.25.1-11 - Adding Provides tag to fix dependency problems From 6956386510861bb319630ad0e4b4eb8ad88e916d Mon Sep 17 00:00:00 2001 From: Major Hayden Date: May 20 2016 18:38:25 +0000 Subject: [PATCH 16/37] Bumping revision --- diff --git a/python-PyPDF2.spec b/python-PyPDF2.spec index 622000b..bbf864b 100644 --- a/python-PyPDF2.spec +++ b/python-PyPDF2.spec @@ -4,7 +4,7 @@ Name: python-%{srcname} Version: 1.25.1 -Release: 11%{?dist} +Release: 12%{?dist} License: BSD Summary: %{sum} Group: Development/Libraries From a5405b8814600fbadff9a654ab3487fc028eded3 Mon Sep 17 00:00:00 2001 From: Major Hayden Date: May 20 2016 18:41:21 +0000 Subject: [PATCH 17/37] Setting srcname variable --- diff --git a/python-PyPDF2.spec b/python-PyPDF2.spec index e854ec4..622000b 100644 --- a/python-PyPDF2.spec +++ b/python-PyPDF2.spec @@ -1,13 +1,14 @@ +%global srcname PyPDF2 %global with_python3 1 %global sum Python PDF toolkit and library -Name: python-PyPDF2 +Name: python-%{srcname} Version: 1.25.1 Release: 11%{?dist} License: BSD Summary: %{sum} Group: Development/Libraries -Source: https://pypi.python.org/packages/source/P/PyPDF2/PyPDF2-%{version}.tar.gz +Source: https://pypi.python.org/packages/source/P/%{srcname}/%{srcname}-%{version}.tar.gz URL: https://github.com/mstamy2/PyPDF2 BuildArch: noarch @@ -28,16 +29,15 @@ 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-PyPDF2 +%package -n python2-%{srcname} Summary: %{sum} BuildRequires: python2-devel BuildRequires: python-libs -Obsoletes: python-PyPDF2 <= 1.25.1-6 -Provides: python-PyPDF2 -%{?python_provide:%python_provide python2-PyPDF2} +Obsoletes: python-%{srcname} <= 1.25.1-6 +%{?python_provide:%python_provide python2-%{srcname}} -%description -n python2-PyPDF2 +%description -n python2-%{srcname} A pure Python library built as a PDF toolkit. It is capable of: - extracting document information (title, author, ...), @@ -52,14 +52,14 @@ 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-PyPDF2 +%package -n python3-%{srcname} Summary: %{sum} BuildRequires: python3-devel BuildRequires: python-libs -%{?python_provide:%python_provide python3-PyPDF2} +%{?python_provide:%python_provide python3-%{srcname}} -%description -n python3-PyPDF2 +%description -n python3-%{srcname} A pure Python library built as a PDF toolkit. It is capable of: - extracting document information (title, author, ...), @@ -74,14 +74,14 @@ 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 python-PyPDF2-doc -Summary: Documentation for python-PyPDF2 +%package -n python-%{srcname}-doc +Summary: Documentation for python-%{srcname} -%description -n python-PyPDF2-doc +%description -n python-%{srcname}-doc python-PyPDF2 contains documentation and examples for the python-PyPDF package %prep -%autosetup -n PyPDF2-%{version} +%autosetup -n %{srcname}-%{version} # non-executable script sed -i -e '/^#!\//, 1d' PyPDF2/pagerange.py @@ -105,21 +105,25 @@ chmod a-x Scripts/* Sample_Code/* LICENSE README.md CHANGELOG #python -m unittest Tests.tests -%files -n python2-PyPDF2 +%files -n python2-%{srcname} %defattr(-,root,root,-) %{python2_sitelib}/* %license LICENSE -%files -n python3-PyPDF2 +%files -n python3-%{srcname} %defattr(-,root,root,-) %{python3_sitelib}/* %license LICENSE -%files -n python-PyPDF2-doc +%files -n python-%{srcname}-doc %doc README.md CHANGELOG Scripts/ Sample_Code/ %license LICENSE %changelog +* Fri May 20 2016 Major Hayden - 1.25.1-12 +- Setting srcname variable so python_provide works properly +- Removing Provides tag + * Fri May 20 2016 Major Hayden - 1.25.1-11 - Adding Provides tag to fix dependency problems From d64737f88e79d1d43fba33daba8f6cf9f2535756 Mon Sep 17 00:00:00 2001 From: Major Hayden Date: May 20 2016 18:41:29 +0000 Subject: [PATCH 18/37] Bumping revision --- diff --git a/python-PyPDF2.spec b/python-PyPDF2.spec index 622000b..bbf864b 100644 --- a/python-PyPDF2.spec +++ b/python-PyPDF2.spec @@ -4,7 +4,7 @@ Name: python-%{srcname} Version: 1.25.1 -Release: 11%{?dist} +Release: 12%{?dist} License: BSD Summary: %{sum} Group: Development/Libraries From ec61f97cca018ca3b7b25499b7d79d960e09b714 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Jul 19 2016 08:44:12 +0000 Subject: [PATCH 20/37] - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages --- diff --git a/python-PyPDF2.spec b/python-PyPDF2.spec index bbf864b..6684d7a 100644 --- a/python-PyPDF2.spec +++ b/python-PyPDF2.spec @@ -4,7 +4,7 @@ Name: python-%{srcname} Version: 1.25.1 -Release: 12%{?dist} +Release: 13%{?dist} License: BSD Summary: %{sum} Group: Development/Libraries @@ -120,6 +120,9 @@ chmod a-x Scripts/* Sample_Code/* LICENSE README.md CHANGELOG %license LICENSE %changelog +* Tue Jul 19 2016 Fedora Release Engineering - 1.25.1-13 +- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages + * Fri May 20 2016 Major Hayden - 1.25.1-12 - Setting srcname variable so python_provide works properly - Removing Provides tag From aacb49c1ebb8e17404f5da82206f1652dddaf0c7 Mon Sep 17 00:00:00 2001 From: Miro Hrončok Date: Dec 19 2016 17:20:38 +0000 Subject: [PATCH 21/37] Rebuild for Python 3.6 --- diff --git a/python-PyPDF2.spec b/python-PyPDF2.spec index 6684d7a..8b29bc1 100644 --- a/python-PyPDF2.spec +++ b/python-PyPDF2.spec @@ -4,7 +4,7 @@ Name: python-%{srcname} Version: 1.25.1 -Release: 13%{?dist} +Release: 14%{?dist} License: BSD Summary: %{sum} Group: Development/Libraries @@ -120,6 +120,9 @@ chmod a-x Scripts/* Sample_Code/* LICENSE README.md CHANGELOG %license LICENSE %changelog +* Mon Dec 19 2016 Miro Hrončok - 1.25.1-14 +- Rebuild for Python 3.6 + * Tue Jul 19 2016 Fedora Release Engineering - 1.25.1-13 - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages From 86c162870f9e281237143d0d32e635caf9f8c952 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Feb 11 2017 08:13:52 +0000 Subject: [PATCH 22/37] - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild --- diff --git a/python-PyPDF2.spec b/python-PyPDF2.spec index 8b29bc1..db01388 100644 --- a/python-PyPDF2.spec +++ b/python-PyPDF2.spec @@ -4,7 +4,7 @@ Name: python-%{srcname} Version: 1.25.1 -Release: 14%{?dist} +Release: 15%{?dist} License: BSD Summary: %{sum} Group: Development/Libraries @@ -120,6 +120,9 @@ chmod a-x Scripts/* Sample_Code/* LICENSE README.md CHANGELOG %license LICENSE %changelog +* Sat Feb 11 2017 Fedora Release Engineering - 1.25.1-15 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + * Mon Dec 19 2016 Miro Hrončok - 1.25.1-14 - Rebuild for Python 3.6 From da401692e4c1fa4778ff79ff4856771a34acf4cd Mon Sep 17 00:00:00 2001 From: Major Hayden Date: Mar 22 2017 15:19:13 +0000 Subject: [PATCH 23/37] Upstream version 1.26.0 --- diff --git a/python-PyPDF2.spec b/python-PyPDF2.spec index db01388..ddc8041 100644 --- a/python-PyPDF2.spec +++ b/python-PyPDF2.spec @@ -3,8 +3,8 @@ %global sum Python PDF toolkit and library Name: python-%{srcname} -Version: 1.25.1 -Release: 15%{?dist} +Version: 1.26.0 +Release: 1%{?dist} License: BSD Summary: %{sum} Group: Development/Libraries @@ -120,6 +120,9 @@ chmod a-x Scripts/* Sample_Code/* LICENSE README.md CHANGELOG %license LICENSE %changelog +* Wed Mar 22 2017 major - 1.26.0-1 +- Upstream version 1.26.0 + * Sat Feb 11 2017 Fedora Release Engineering - 1.25.1-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild From aebf5fa1917b585318dee0121d8f7af73b0f7b45 Mon Sep 17 00:00:00 2001 From: Major Hayden Date: Mar 22 2017 15:21:43 +0000 Subject: [PATCH 24/37] Adding 1.26.0 source --- diff --git a/.gitignore b/.gitignore index 603cb55..2b6d5fb 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /PyPDF2-1.25.1.tar.gz +/PyPDF2-1.26.0.tar.gz diff --git a/sources b/sources index bc53d2f..f8e20aa 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -ee5e5b01d00b120805e5049e56c6fd7c PyPDF2-1.25.1.tar.gz +SHA512 (PyPDF2-1.26.0.tar.gz) = 7b427f1d099dcd687a718fb8d86e6f677ad45257414c6367e4dfacd8dfef7e3dbe3816027359868764981f36a30721f1731b4c23cbe2f35cfab1c64fb290b034 From 0034228346cc326f437c0a7af24ec94a502bfbee Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Jul 27 2017 09:28:28 +0000 Subject: [PATCH 25/37] - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild --- diff --git a/python-PyPDF2.spec b/python-PyPDF2.spec index ddc8041..c48edb2 100644 --- a/python-PyPDF2.spec +++ b/python-PyPDF2.spec @@ -4,7 +4,7 @@ Name: python-%{srcname} Version: 1.26.0 -Release: 1%{?dist} +Release: 2%{?dist} License: BSD Summary: %{sum} Group: Development/Libraries @@ -120,6 +120,9 @@ chmod a-x Scripts/* Sample_Code/* LICENSE README.md CHANGELOG %license LICENSE %changelog +* Thu Jul 27 2017 Fedora Release Engineering - 1.26.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + * Wed Mar 22 2017 major - 1.26.0-1 - Upstream version 1.26.0 From 84cbfce4756eb450951dfd5de3f3ec4dc2db3684 Mon Sep 17 00:00:00 2001 From: Iryna Shcherbina Date: Feb 07 2018 07:23:46 +0000 Subject: [PATCH 26/37] Update Python 2 dependency declarations to new packaging standards --- diff --git a/python-PyPDF2.spec b/python-PyPDF2.spec index c48edb2..8b1166e 100644 --- a/python-PyPDF2.spec +++ b/python-PyPDF2.spec @@ -4,7 +4,7 @@ Name: python-%{srcname} Version: 1.26.0 -Release: 2%{?dist} +Release: 3%{?dist} License: BSD Summary: %{sum} Group: Development/Libraries @@ -32,7 +32,7 @@ It is therefore a useful tool for websites that manage or manipulate PDFs. %package -n python2-%{srcname} Summary: %{sum} BuildRequires: python2-devel -BuildRequires: python-libs +BuildRequires: python2-libs Obsoletes: python-%{srcname} <= 1.25.1-6 %{?python_provide:%python_provide python2-%{srcname}} @@ -55,7 +55,7 @@ It is therefore a useful tool for websites that manage or manipulate PDFs. %package -n python3-%{srcname} Summary: %{sum} BuildRequires: python3-devel -BuildRequires: python-libs +BuildRequires: python2-libs %{?python_provide:%python_provide python3-%{srcname}} @@ -120,6 +120,10 @@ chmod a-x Scripts/* Sample_Code/* LICENSE README.md CHANGELOG %license LICENSE %changelog +* Wed Feb 07 2018 Iryna Shcherbina - 1.26.0-3 +- Update Python 2 dependency declarations to new packaging standards + (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) + * Thu Jul 27 2017 Fedora Release Engineering - 1.26.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild From b20b1f8b00dd557a441db851d83e46dec6c30d21 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Feb 09 2018 06:25:24 +0000 Subject: [PATCH 27/37] - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- diff --git a/python-PyPDF2.spec b/python-PyPDF2.spec index 8b1166e..a6429dd 100644 --- a/python-PyPDF2.spec +++ b/python-PyPDF2.spec @@ -4,7 +4,7 @@ Name: python-%{srcname} Version: 1.26.0 -Release: 3%{?dist} +Release: 4%{?dist} License: BSD Summary: %{sum} Group: Development/Libraries @@ -120,6 +120,9 @@ chmod a-x Scripts/* Sample_Code/* LICENSE README.md CHANGELOG %license LICENSE %changelog +* Fri Feb 09 2018 Fedora Release Engineering - 1.26.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + * Wed Feb 07 2018 Iryna Shcherbina - 1.26.0-3 - Update Python 2 dependency declarations to new packaging standards (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) From 7c922fe52da22666e95cd06e2096c6f293ff21a9 Mon Sep 17 00:00:00 2001 From: Miro Hrončok Date: Jun 19 2018 08:52:02 +0000 Subject: [PATCH 28/37] Rebuilt for Python 3.7 --- diff --git a/python-PyPDF2.spec b/python-PyPDF2.spec index a6429dd..258a7ef 100644 --- a/python-PyPDF2.spec +++ b/python-PyPDF2.spec @@ -4,7 +4,7 @@ Name: python-%{srcname} Version: 1.26.0 -Release: 4%{?dist} +Release: 5%{?dist} License: BSD Summary: %{sum} Group: Development/Libraries @@ -120,6 +120,9 @@ chmod a-x Scripts/* Sample_Code/* LICENSE README.md CHANGELOG %license LICENSE %changelog +* Tue Jun 19 2018 Miro Hrončok - 1.26.0-5 +- Rebuilt for Python 3.7 + * Fri Feb 09 2018 Fedora Release Engineering - 1.26.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild From 4d6dcd3e7520bcbbe31ce4a9ee4226c1a472b6fc Mon Sep 17 00:00:00 2001 From: Jason Tibbitts Date: Jul 10 2018 07:05:05 +0000 Subject: [PATCH 29/37] Remove needless use of %defattr --- diff --git a/python-PyPDF2.spec b/python-PyPDF2.spec index 258a7ef..a216a87 100644 --- a/python-PyPDF2.spec +++ b/python-PyPDF2.spec @@ -106,12 +106,10 @@ chmod a-x Scripts/* Sample_Code/* LICENSE README.md CHANGELOG %files -n python2-%{srcname} -%defattr(-,root,root,-) %{python2_sitelib}/* %license LICENSE %files -n python3-%{srcname} -%defattr(-,root,root,-) %{python3_sitelib}/* %license LICENSE From b811be5ab0650c8a38823a9f47a4827ba76009d9 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Jul 13 2018 23:18:04 +0000 Subject: [PATCH 30/37] - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- diff --git a/python-PyPDF2.spec b/python-PyPDF2.spec index a216a87..87a3d3a 100644 --- a/python-PyPDF2.spec +++ b/python-PyPDF2.spec @@ -4,7 +4,7 @@ Name: python-%{srcname} Version: 1.26.0 -Release: 5%{?dist} +Release: 6%{?dist} License: BSD Summary: %{sum} Group: Development/Libraries @@ -118,6 +118,9 @@ chmod a-x Scripts/* Sample_Code/* LICENSE README.md CHANGELOG %license LICENSE %changelog +* Fri Jul 13 2018 Fedora Release Engineering - 1.26.0-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + * Tue Jun 19 2018 Miro Hrončok - 1.26.0-5 - Rebuilt for Python 3.7 From 340734bd62d9415a8b090f7f5421d877d23ff8ee Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Jan 28 2019 19:24:42 +0000 Subject: [PATCH 31/37] Remove obsolete Group tag References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag --- diff --git a/python-PyPDF2.spec b/python-PyPDF2.spec index 87a3d3a..d2ee9f2 100644 --- a/python-PyPDF2.spec +++ b/python-PyPDF2.spec @@ -7,7 +7,6 @@ Version: 1.26.0 Release: 6%{?dist} License: BSD Summary: %{sum} -Group: Development/Libraries Source: https://pypi.python.org/packages/source/P/%{srcname}/%{srcname}-%{version}.tar.gz URL: https://github.com/mstamy2/PyPDF2 From 9dd4b05fcf5f67f34cfebaff8755d77746b39859 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Feb 02 2019 05:24:10 +0000 Subject: [PATCH 32/37] - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- diff --git a/python-PyPDF2.spec b/python-PyPDF2.spec index d2ee9f2..59d9921 100644 --- a/python-PyPDF2.spec +++ b/python-PyPDF2.spec @@ -4,7 +4,7 @@ Name: python-%{srcname} Version: 1.26.0 -Release: 6%{?dist} +Release: 7%{?dist} License: BSD Summary: %{sum} Source: https://pypi.python.org/packages/source/P/%{srcname}/%{srcname}-%{version}.tar.gz @@ -117,6 +117,9 @@ chmod a-x Scripts/* Sample_Code/* LICENSE README.md CHANGELOG %license LICENSE %changelog +* Sat Feb 02 2019 Fedora Release Engineering - 1.26.0-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + * Fri Jul 13 2018 Fedora Release Engineering - 1.26.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild From b38707153a0695a101ea81fe21a268a6d0e26e3a Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Jul 26 2019 11:55:03 +0000 Subject: [PATCH 33/37] - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- diff --git a/python-PyPDF2.spec b/python-PyPDF2.spec index 59d9921..9c6d707 100644 --- a/python-PyPDF2.spec +++ b/python-PyPDF2.spec @@ -4,7 +4,7 @@ Name: python-%{srcname} Version: 1.26.0 -Release: 7%{?dist} +Release: 8%{?dist} License: BSD Summary: %{sum} Source: https://pypi.python.org/packages/source/P/%{srcname}/%{srcname}-%{version}.tar.gz @@ -117,6 +117,9 @@ chmod a-x Scripts/* Sample_Code/* LICENSE README.md CHANGELOG %license LICENSE %changelog +* Fri Jul 26 2019 Fedora Release Engineering - 1.26.0-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + * Sat Feb 02 2019 Fedora Release Engineering - 1.26.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild From 5b250818106eb88b01b341a077e2966026b67f0f Mon Sep 17 00:00:00 2001 From: Miro Hrončok Date: Aug 18 2019 12:08:05 +0000 Subject: [PATCH 34/37] Rebuilt for Python 3.8 --- diff --git a/python-PyPDF2.spec b/python-PyPDF2.spec index 9c6d707..0e59ba6 100644 --- a/python-PyPDF2.spec +++ b/python-PyPDF2.spec @@ -4,7 +4,7 @@ Name: python-%{srcname} Version: 1.26.0 -Release: 8%{?dist} +Release: 9%{?dist} License: BSD Summary: %{sum} Source: https://pypi.python.org/packages/source/P/%{srcname}/%{srcname}-%{version}.tar.gz @@ -117,6 +117,9 @@ chmod a-x Scripts/* Sample_Code/* LICENSE README.md CHANGELOG %license LICENSE %changelog +* Sun Aug 18 2019 Miro Hrončok - 1.26.0-9 +- Rebuilt for Python 3.8 + * Fri Jul 26 2019 Fedora Release Engineering - 1.26.0-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild From d1f6c25829006c4518901a6c36067b78f0308d6b Mon Sep 17 00:00:00 2001 From: Miro Hrončok Date: Aug 18 2019 17:38:29 +0000 Subject: [PATCH 35/37] Rebuilt for Python 3.8 --- diff --git a/python-PyPDF2.spec b/python-PyPDF2.spec index 0e59ba6..cb51bc5 100644 --- a/python-PyPDF2.spec +++ b/python-PyPDF2.spec @@ -4,7 +4,7 @@ Name: python-%{srcname} Version: 1.26.0 -Release: 9%{?dist} +Release: 10%{?dist} License: BSD Summary: %{sum} Source: https://pypi.python.org/packages/source/P/%{srcname}/%{srcname}-%{version}.tar.gz @@ -117,6 +117,9 @@ chmod a-x Scripts/* Sample_Code/* LICENSE README.md CHANGELOG %license LICENSE %changelog +* Sun Aug 18 2019 Miro Hrončok - 1.26.0-10 +- Rebuilt for Python 3.8 + * Sun Aug 18 2019 Miro Hrončok - 1.26.0-9 - Rebuilt for Python 3.8 From 212386f2862e86a2c7fa6957f6993eec70fc9a48 Mon Sep 17 00:00:00 2001 From: Miro Hrončok Date: Oct 03 2019 12:00:42 +0000 Subject: [PATCH 36/37] Rebuilt for Python 3.8.0rc1 (#1748018) --- diff --git a/python-PyPDF2.spec b/python-PyPDF2.spec index cb51bc5..f6ee799 100644 --- a/python-PyPDF2.spec +++ b/python-PyPDF2.spec @@ -4,7 +4,7 @@ Name: python-%{srcname} Version: 1.26.0 -Release: 10%{?dist} +Release: 11%{?dist} License: BSD Summary: %{sum} Source: https://pypi.python.org/packages/source/P/%{srcname}/%{srcname}-%{version}.tar.gz @@ -117,6 +117,9 @@ chmod a-x Scripts/* Sample_Code/* LICENSE README.md CHANGELOG %license LICENSE %changelog +* Thu Oct 03 2019 Miro Hrončok - 1.26.0-11 +- Rebuilt for Python 3.8.0rc1 (#1748018) + * Sun Aug 18 2019 Miro Hrončok - 1.26.0-10 - Rebuilt for Python 3.8 From 15efe790afdc63a9ed4d5501fae5740dca7d7434 Mon Sep 17 00:00:00 2001 From: Scott Talbert Date: Oct 28 2019 02:07:48 +0000 Subject: [PATCH 37/37] Adapt for EPEL --- diff --git a/python-PyPDF2.spec b/python-PyPDF2.spec index f6ee799..98d0e5e 100644 --- a/python-PyPDF2.spec +++ b/python-PyPDF2.spec @@ -4,7 +4,7 @@ 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 @@ -51,14 +51,14 @@ 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} +%package -n python%{python3_pkgversion}-%{srcname} Summary: %{sum} -BuildRequires: python3-devel +BuildRequires: python%{python3_pkgversion}-devel BuildRequires: python2-libs -%{?python_provide:%python_provide python3-%{srcname}} +%{?python_provide:%python_provide python%{python3_pkgversion}-%{srcname}} -%description -n python3-%{srcname} +%description -n python%{python3_pkgversion}-%{srcname} A pure Python library built as a PDF toolkit. It is capable of: - extracting document information (title, author, ...), @@ -108,7 +108,7 @@ chmod a-x Scripts/* Sample_Code/* LICENSE README.md CHANGELOG %{python2_sitelib}/* %license LICENSE -%files -n python3-%{srcname} +%files -n python%{python3_pkgversion}-%{srcname} %{python3_sitelib}/* %license LICENSE @@ -117,6 +117,9 @@ chmod a-x Scripts/* Sample_Code/* LICENSE README.md CHANGELOG %license LICENSE %changelog +* Mon Oct 28 2019 Scott Talbert - 1.26.0-12 +- Adapt for EPEL + * Thu Oct 03 2019 Miro Hrončok - 1.26.0-11 - Rebuilt for Python 3.8.0rc1 (#1748018)