diff --git a/python-pydotplus.changes b/python-pydotplus.changes index f9c20cd..d0cef36 100644 --- a/python-pydotplus.changes +++ b/python-pydotplus.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Dec 4 12:52:07 UTC 2018 - Matej Cepl + +- Remove superfluous devel dependency for noarch package + ------------------------------------------------------------------- Thu May 11 02:34:26 UTC 2017 - toddrme2178@gmail.com diff --git a/python-pydotplus.spec b/python-pydotplus.spec index 079b89f..97508e8 100644 --- a/python-pydotplus.spec +++ b/python-pydotplus.spec @@ -1,7 +1,7 @@ # # 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 # 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) # 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-%{**}} +%bcond_without tests Name: python-pydotplus Version: 2.0.2 Release: 0 -License: MIT Summary: Python interface to Graphviz's Dot language -Url: http://pydotplus.readthedocs.org/ +License: MIT Group: Development/Languages/Python +URL: http://pydotplus.readthedocs.org/ 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: python-rpm-macros -BuildRequires: %{python_module devel} -BuildRequires: %{python_module setuptools} -BuildRequires: %{python_module pyparsing >= 2.0.1} +Requires: graphviz +Requires: python-pyparsing >= 2.0.1 +BuildArch: noarch %if %{with tests} BuildRequires: graphviz %endif -Requires: python-pyparsing >= 2.0.1 -Requires: graphviz -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildArch: noarch %python_subpackages %description @@ -62,8 +60,8 @@ $python test/pydot_unittest.py %endif %files %{python_files} -%defattr(-,root,root,-) -%doc README.rst LICENSE +%license LICENSE +%doc README.rst %{python_sitelib}/* %changelog