14
0

Accepting request 659583 from devel:languages:python

Remove superfluous devel dependency for noarch package

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

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Dec 4 12:52:07 UTC 2018 - Matej Cepl <mcepl@suse.com>
- Remove superfluous devel dependency for noarch package
------------------------------------------------------------------- -------------------------------------------------------------------
Thu May 11 02:34:26 UTC 2017 - toddrme2178@gmail.com Thu May 11 02:34:26 UTC 2017 - toddrme2178@gmail.com

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-pydotplus # spec file for package python-pydotplus
# #
# 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,32 +12,30 @@
# 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/
#
%bcond_without tests
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
%bcond_without tests
Name: python-pydotplus Name: python-pydotplus
Version: 2.0.2 Version: 2.0.2
Release: 0 Release: 0
License: MIT
Summary: Python interface to Graphviz's Dot language Summary: Python interface to Graphviz's Dot language
Url: http://pydotplus.readthedocs.org/ License: MIT
Group: Development/Languages/Python Group: Development/Languages/Python
URL: http://pydotplus.readthedocs.org/
Source: https://files.pythonhosted.org/packages/source/p/pydotplus/pydotplus-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/p/pydotplus/pydotplus-%{version}.tar.gz
BuildRequires: %{python_module pyparsing >= 2.0.1}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
BuildRequires: %{python_module devel} Requires: graphviz
BuildRequires: %{python_module setuptools} Requires: python-pyparsing >= 2.0.1
BuildRequires: %{python_module pyparsing >= 2.0.1} BuildArch: noarch
%if %{with tests} %if %{with tests}
BuildRequires: graphviz BuildRequires: graphviz
%endif %endif
Requires: python-pyparsing >= 2.0.1
Requires: graphviz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%python_subpackages %python_subpackages
%description %description
@@ -62,8 +60,8 @@ $python test/pydot_unittest.py
%endif %endif
%files %{python_files} %files %{python_files}
%defattr(-,root,root,-) %license LICENSE
%doc README.rst LICENSE %doc README.rst
%{python_sitelib}/* %{python_sitelib}/*
%changelog %changelog