forked from pool/python-pydotplus
Clean up the SPEC file
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pydotplus?expand=0&rev=6
This commit is contained in:
@@ -16,28 +16,26 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%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
|
||||||
Summary: Python interface to Graphviz's Dot language
|
Summary: Python interface to Graphviz's Dot language
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
Url: http://pydotplus.readthedocs.org/
|
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 pyparsing >= 2.0.1}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
|
Requires: graphviz
|
||||||
|
Requires: python-pyparsing >= 2.0.1
|
||||||
|
BuildArch: noarch
|
||||||
%if %{with tests}
|
%if %{with tests}
|
||||||
BuildRequires: graphviz
|
BuildRequires: graphviz
|
||||||
%endif
|
%endif
|
||||||
Requires: graphviz
|
|
||||||
Requires: python-pyparsing >= 2.0.1
|
|
||||||
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
|
||||||
|
Reference in New Issue
Block a user