15
0

Remove superfluous devel dependency for noarch package

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fasteners?expand=0&rev=10
This commit is contained in:
2018-12-04 13:26:50 +00:00
committed by Git OBS Bridge
parent 741a2f7366
commit 712e04e468
2 changed files with 10 additions and 5 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-fasteners
#
# 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
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,9 +12,10 @@
# license that conforms to the Open Source Definition (Version 1.9)
# 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/
#
%bcond_without tests
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
@@ -26,14 +27,13 @@ License: Apache-2.0
Group: Development/Languages/Python
Url: https://github.com/harlowja/fasteners
Source: https://files.pythonhosted.org/packages/source/f/fasteners/fasteners-%{version}.tar.gz
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
%if %{with tests}
BuildRequires: %{python_module monotonic >= 0.1}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module testtools}
BuildRequires: %{python_module monotonic >= 0.1}
BuildRequires: python-futures
%endif
Requires: python-monotonic >= 0.1