14
0
forked from pool/python-pilkit

Accepting request 659553 from devel:languages:python

Remove superfluous devel dependency for noarch package

OBS-URL: https://build.opensuse.org/request/show/659553
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pilkit?expand=0&rev=2
This commit is contained in:
2018-12-24 10:41:13 +00:00
committed by Git OBS Bridge
2 changed files with 17 additions and 15 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Dec 4 12:51:33 UTC 2018 - Matej Cepl <mcepl@suse.com>
- Remove superfluous devel dependency for noarch package
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Nov 18 12:05:03 UTC 2017 - tbechtold@suse.com Sat Nov 18 12:05:03 UTC 2017 - tbechtold@suse.com

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-pilkit # spec file for package python-pilkit
# #
# 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,8 @@
# license that conforms to the Open Source Definition (Version 1.9) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # 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/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
@@ -20,27 +21,23 @@
Name: python-pilkit Name: python-pilkit
Version: 2.0 Version: 2.0
Release: 0 Release: 0
License: BSD-3-Clause
Summary: A collection of utilities and processors for the Python Imaging Libary Summary: A collection of utilities and processors for the Python Imaging Libary
Url: http://github.com/matthewwithanm/pilkit/ License: BSD-3-Clause
Group: Development/Languages/Python Group: Development/Languages/Python
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-rpm-macros
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
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 Pillow}
BuildRequires: %{python_module nose-progressive >= 1.5.1}
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 Pillow} 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