diff --git a/python-pilkit.spec b/python-pilkit.spec index c2de8f7..a8838f2 100644 --- a/python-pilkit.spec +++ b/python-pilkit.spec @@ -24,23 +24,20 @@ Release: 0 Summary: A collection of utilities and processors for the Python Imaging Libary License: BSD-3-Clause Group: Development/Languages/Python -Url: http://github.com/matthewwithanm/pilkit/ +URL: http://github.com/matthewwithanm/pilkit/ Source: https://files.pythonhosted.org/packages/source/p/pilkit/pilkit-%{version}.tar.gz BuildRequires: %{python_module setuptools} +BuildRequires: fdupes BuildRequires: python-rpm-macros +BuildArch: noarch # SECTION test requirements %if %{with test} -BuildRequires: %{python_module mock >= 1.0.1} -BuildRequires: %{python_module nose-progressive >= 1.5.1} - BuildRequires: %{python_module Pillow} BuildRequires: %{python_module mock >= 1.0.1} BuildRequires: %{python_module nose >= 1.3.6} +BuildRequires: %{python_module nose-progressive >= 1.5.1} %endif # /SECTION -BuildRequires: fdupes -BuildArch: noarch - %python_subpackages %description @@ -66,8 +63,8 @@ interface for performing manipulations on PIL images. %endif %files %{python_files} -%defattr(-,root,root,-) -%doc AUTHORS LICENSE README.rst +%license LICENSE +%doc AUTHORS README.rst %{python_sitelib}/* %changelog