From 200b3ed8409c72d1ee53bdb45730132786bbf4f3d33ed047174a13ec1d914ca5 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 17:18:08 +0000 Subject: [PATCH] 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