Hello community, here is the log from the commit of package python-pygraphviz for openSUSE:Factory checked in at 2017-08-13 14:59:45 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pygraphviz (Old) and /work/SRC/openSUSE:Factory/.python-pygraphviz.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pygraphviz" Sun Aug 13 14:59:45 2017 rev:5 rq:516126 version:1.4rc1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-pygraphviz/python-pygraphviz.changes 2017-06-12 15:28:10.356401625 +0200 +++ /work/SRC/openSUSE:Factory/.python-pygraphviz.new/python-pygraphviz.changes 2017-08-13 14:59:53.826836363 +0200 @@ -1,0 +2,5 @@ +Sun Aug 6 04:42:26 UTC 2017 - toddrme2...@gmail.com + +- Fix shebangs + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pygraphviz.spec ++++++ --- /var/tmp/diff_new_pack.xj9f7H/_old 2017-08-13 14:59:56.134512492 +0200 +++ /var/tmp/diff_new_pack.xj9f7H/_new 2017-08-13 14:59:56.162508563 +0200 @@ -38,6 +38,7 @@ BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} # Needed even without tests +BuildRequires: %{python_module mock} BuildRequires: %{python_module nose} Requires: graphviz >= 2.16 %python_subpackages @@ -64,8 +65,17 @@ %install export CFLAGS="%{optflags}" %python_exec setup.py install -O1 --force --root %{buildroot} --prefix %{_prefix} --include-path %{_includedir}/graphviz/ --library-path %{_libdir}/graphviz/ -%python_expand %fdupes %{buildroot}%{$python_sitearch} -%python_expand chmod +x %{buildroot}%{$python_sitearch}/pygraphviz/tests/test.py + +%{python_expand pushd %{buildroot}%{$python_sitearch} +# Fix wrong-script-interpreter +sed -i "s|#!/usr/bin/env python|#!%__$python|" pygraphviz/tests/test.py +chmod a+x pygraphviz/tests/test.py +# Deduplicating files can generate a RPMLINT warning for pyc mtime +$python -m compileall -d %{$python_sitearch} pygraphviz/tests/ +$python -O -m compileall -d %{$python_sitearch} pygraphviz/tests/ +%fdupes . +popd +} %if %{with tests} %check