forked from pool/python-pilkit
Clean up the SPEC file
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pilkit?expand=0&rev=4
This commit is contained in:
@@ -24,23 +24,20 @@ Release: 0
|
|||||||
Summary: A collection of utilities and processors for the Python Imaging Libary
|
Summary: A collection of utilities and processors for the Python Imaging Libary
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
Group: Development/Languages/Python
|
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
|
Source: https://files.pythonhosted.org/packages/source/p/pilkit/pilkit-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
|
BuildArch: noarch
|
||||||
# SECTION test requirements
|
# SECTION test requirements
|
||||||
%if %{with test}
|
%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 Pillow}
|
||||||
BuildRequires: %{python_module mock >= 1.0.1}
|
BuildRequires: %{python_module mock >= 1.0.1}
|
||||||
BuildRequires: %{python_module nose >= 1.3.6}
|
BuildRequires: %{python_module nose >= 1.3.6}
|
||||||
|
BuildRequires: %{python_module nose-progressive >= 1.5.1}
|
||||||
%endif
|
%endif
|
||||||
# /SECTION
|
# /SECTION
|
||||||
BuildRequires: fdupes
|
|
||||||
BuildArch: noarch
|
|
||||||
|
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -66,8 +63,8 @@ interface for performing manipulations on PIL images.
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%defattr(-,root,root,-)
|
%license LICENSE
|
||||||
%doc AUTHORS LICENSE README.rst
|
%doc AUTHORS README.rst
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user