Hello community, here is the log from the commit of package python-pydot for openSUSE:Factory checked in at 2017-05-03 15:54:32 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pydot (Old) and /work/SRC/openSUSE:Factory/.python-pydot.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-pydot" Wed May 3 15:54:32 2017 rev:5 rq:489386 version:1.2.3 Changes: -------- --- /work/SRC/openSUSE:Factory/python-pydot/python-pydot.changes 2016-11-05 21:25:27.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.python-pydot.new/python-pydot.changes 2017-05-03 15:54:36.294124034 +0200 @@ -1,0 +2,5 @@ +Wed Apr 19 16:15:07 UTC 2017 - toddrme2178@gmail.com + +- Implement single-spec version. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pydot.spec ++++++ --- /var/tmp/diff_new_pack.9J3Yyo/_old 2017-05-03 15:54:38.069873342 +0200 +++ /var/tmp/diff_new_pack.9J3Yyo/_new 2017-05-03 15:54:38.073872778 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-pydot # -# Copyright (c) 2016 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,6 +16,7 @@ # +%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-pydot Version: 1.2.3 Release: 0 @@ -25,12 +26,15 @@ Group: Development/Libraries/Python Source: https://files.pythonhosted.org/packages/source/p/pydot/pydot-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: python-devel -BuildRequires: python-pyparsing >= 2.1.4 -BuildRequires: python-setuptools +BuildRequires: fdupes +BuildRequires: python-rpm-macros +BuildRequires: %{python_module devel} +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module pyparsing >= 2.1.4} Requires: graphviz Requires: python-pyparsing >= 2.1.4 BuildArch: noarch +%python_subpackages %description pydot allows to easily create both directed and non directed graphs from Python. @@ -40,16 +44,19 @@ %setup -q -n pydot-%{version} %build -python setup.py build +%python_build %install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} -%files +%files %{python_files} %defattr(-,root,root,-) %doc README.md LICENSE %{python_sitelib}/dot_parser.py* %{python_sitelib}/pydot.py* +%pycache_only %{python_sitelib}/__pycache__/dot_parser.*.py* +%pycache_only %{python_sitelib}/__pycache__/pydot.*.py* %{python_sitelib}/pydot-%{version}-py*.egg-info %changelog