From 328095a3ecf7464a2674172819124837cf001a8953cd4577ee41652306ca78b2 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 13:53:16 +0000 Subject: [PATCH 1/2] Remove superfluous devel dependency for noarch package OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyPDF2?expand=0&rev=10 --- python-PyPDF2.changes | 5 +++++ python-PyPDF2.spec | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/python-PyPDF2.changes b/python-PyPDF2.changes index def4f77..d1b2401 100644 --- a/python-PyPDF2.changes +++ b/python-PyPDF2.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Dec 4 12:52:37 UTC 2018 - Matej Cepl + +- Remove superfluous devel dependency for noarch package + ------------------------------------------------------------------- Mon May 14 10:11:40 UTC 2018 - tchvatal@suse.com diff --git a/python-PyPDF2.spec b/python-PyPDF2.spec index cfd6c30..6481e17 100644 --- a/python-PyPDF2.spec +++ b/python-PyPDF2.spec @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -25,7 +25,6 @@ License: BSD-3-Clause Group: Development/Languages/Python URL: http://mstamy2.github.com/PyPDF2 Source: https://files.pythonhosted.org/packages/source/P/PyPDF2/PyPDF2-%{version}.tar.gz -BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros From 85c52ff2f1189d89b6888e07df140b919b9ac707fd4f5c5c2ed1b3a2ad6aa97d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Thu, 6 Dec 2018 13:22:11 +0000 Subject: [PATCH 2/2] - Fix fdupes call OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyPDF2?expand=0&rev=11 --- python-PyPDF2.changes | 5 +++++ python-PyPDF2.spec | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/python-PyPDF2.changes b/python-PyPDF2.changes index d1b2401..e6fc85d 100644 --- a/python-PyPDF2.changes +++ b/python-PyPDF2.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Dec 6 13:22:02 UTC 2018 - Tomáš Chvátal + +- Fix fdupes call + ------------------------------------------------------------------- Tue Dec 4 12:52:37 UTC 2018 - Matej Cepl diff --git a/python-PyPDF2.spec b/python-PyPDF2.spec index 6481e17..053ab58 100644 --- a/python-PyPDF2.spec +++ b/python-PyPDF2.spec @@ -56,7 +56,7 @@ sed -i '/^#!/ d' PyPDF2/pagerange.py %install %python_install -%fdupes %{buildroot}%{_prefix} +%python_expand %fdupes %{buildroot}%{$python_sitelib} chmod a-x CHANGELOG LICENSE README.md %files %{python_files}