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