From 00dcbf044e57d61224dcd60de54fc060ec10c0a1911cb9d0f31dec120268520e Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 13:46:00 +0000 Subject: [PATCH 1/2] Remove superfluous devel dependency for noarch package OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pdfrw?expand=0&rev=6 --- python-pdfrw.changes | 5 +++++ python-pdfrw.spec | 5 ++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/python-pdfrw.changes b/python-pdfrw.changes index cfa5f69..9eb9305 100644 --- a/python-pdfrw.changes +++ b/python-pdfrw.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Dec 4 12:51:23 UTC 2018 - Matej Cepl + +- Remove superfluous devel dependency for noarch package + ------------------------------------------------------------------- Wed Oct 18 15:57:22 UTC 2017 - toddrme2178@gmail.com diff --git a/python-pdfrw.spec b/python-pdfrw.spec index 4b21f8b..69a76a0 100644 --- a/python-pdfrw.spec +++ b/python-pdfrw.spec @@ -1,7 +1,7 @@ # # spec file for package python-pdfrw # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -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/ # @@ -27,7 +27,6 @@ License: MIT Group: Development/Libraries/Python Url: https://code.google.com/p/pdfrw/ Source: https://files.pythonhosted.org/packages/source/p/pdfrw/pdfrw-%{version}.tar.gz -BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros From 200b3ed8409c72d1ee53bdb45730132786bbf4f3d33ed047174a13ec1d914ca5 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 17:18:08 +0000 Subject: [PATCH 2/2] Clean up the SPEC file OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pdfrw?expand=0&rev=7 --- python-pdfrw.spec | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/python-pdfrw.spec b/python-pdfrw.spec index 69a76a0..ee9703f 100644 --- a/python-pdfrw.spec +++ b/python-pdfrw.spec @@ -25,15 +25,15 @@ Release: 0 Summary: PDF file reader/writer library License: MIT Group: Development/Libraries/Python -Url: https://code.google.com/p/pdfrw/ +URL: https://code.google.com/p/pdfrw/ Source: https://files.pythonhosted.org/packages/source/p/pdfrw/pdfrw-%{version}.tar.gz BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros +BuildArch: noarch %if %{with test} BuildRequires: %{python_module pytest} %endif -BuildArch: noarch %python_subpackages %description @@ -55,8 +55,8 @@ pdfrw is a Python library and utility that reads and writes PDF files. %endif %files %{python_files} -%defattr(-,root,root) -%doc LICENSE.txt README.rst +%license LICENSE.txt +%doc README.rst %{python_sitelib}/pdfrw/ %{python_sitelib}/pdfrw-%{version}-py*.egg-info