From 2c5ce5db02e0cc48c01ff3bcbfdb16fea0c45cd54f3bbb8a38a8a432e6e4f76e Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 17:19:10 +0000 Subject: [PATCH] Clean up the SPEC file OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pydot?expand=0&rev=15 --- python-pydot.spec | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/python-pydot.spec b/python-pydot.spec index 84cb168..902fc11 100644 --- a/python-pydot.spec +++ b/python-pydot.spec @@ -20,12 +20,11 @@ Name: python-pydot Version: 1.2.4 Release: 0 -Url: https://github.com/erocarrera/pydot Summary: Create (dot) graphs from python License: MIT Group: Development/Libraries/Python +URL: https://github.com/erocarrera/pydot Source: https://files.pythonhosted.org/packages/source/p/pydot/pydot-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: %{python_module pyparsing >= 2.1.4} BuildRequires: %{python_module setuptools} BuildRequires: fdupes @@ -36,7 +35,7 @@ BuildArch: noarch %python_subpackages %description -pydot allows to easily create both directed and non directed graphs from Python. +pydot allows to easily create both directed and non directed graphs from Python. Currently all attributes implemented in the Dot language are supported (up to Graphviz 2.16). %prep @@ -50,8 +49,8 @@ Currently all attributes implemented in the Dot language are supported (up to Gr %python_expand %fdupes %{buildroot}%{$python_sitelib} %files %{python_files} -%defattr(-,root,root,-) -%doc README.md LICENSE +%license LICENSE +%doc README.md %{python_sitelib}/dot_parser.py* %{python_sitelib}/pydot.py* %pycache_only %{python_sitelib}/__pycache__/dot_parser.*.py*