Hello community, here is the log from the commit of package python-jupyter_ipyparallel for openSUSE:Factory checked in at 2017-08-19 10:56:22 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-jupyter_ipyparallel (Old) and /work/SRC/openSUSE:Factory/.python-jupyter_ipyparallel.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-jupyter_ipyparallel" Sat Aug 19 10:56:22 2017 rev:5 rq:517104 version:6.0.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-jupyter_ipyparallel/python-jupyter_ipyparallel-doc.changes 2017-05-17 17:14:26.430184832 +0200 +++ /work/SRC/openSUSE:Factory/.python-jupyter_ipyparallel.new/python-jupyter_ipyparallel-doc.changes 2017-08-19 10:56:24.248570752 +0200 @@ -1,0 +2,5 @@ +Wed Aug 16 01:30:34 UTC 2017 - toddrme2...@gmail.com + +- Fix shebangs + +------------------------------------------------------------------- --- /work/SRC/openSUSE:Factory/python-jupyter_ipyparallel/python-jupyter_ipyparallel.changes 2017-05-17 17:14:26.518172428 +0200 +++ /work/SRC/openSUSE:Factory/.python-jupyter_ipyparallel.new/python-jupyter_ipyparallel.changes 2017-08-19 10:56:24.912477145 +0200 @@ -1,0 +2,5 @@ +Sun Aug 6 03:42:48 UTC 2017 - toddrme2...@gmail.com + +- Fix script interpeter. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-jupyter_ipyparallel-doc.spec ++++++ --- /var/tmp/diff_new_pack.J1myrj/_old 2017-08-19 10:56:27.104168129 +0200 +++ /var/tmp/diff_new_pack.J1myrj/_new 2017-08-19 10:56:27.160160235 +0200 @@ -59,6 +59,7 @@ %prep %setup -q -n ipyparallel-%{version} +find examples -name "*.py" -exec sed -i "s|^#!/usr/bin/env python$|#!%__python3|" {} \; %build # Build the documentation ++++++ python-jupyter_ipyparallel.spec ++++++ --- /var/tmp/diff_new_pack.J1myrj/_old 2017-08-19 10:56:27.300140499 +0200 +++ /var/tmp/diff_new_pack.J1myrj/_new 2017-08-19 10:56:27.348133732 +0200 @@ -79,7 +79,6 @@ %install %python_install -%python_expand %fdupes %{buildroot}%{$python_sitelib} PYTHONPATH=%{buildroot}%{python3_sitelib} jupyter nbextension install --prefix=%{buildroot}%{_prefix} --py ipyparallel @@ -89,9 +88,20 @@ %python_clone -a %{buildroot}%{_bindir}/ipengine # These files are meant to be runnable stand-alone, so they should be executable -%python_expand chmod a+x %{buildroot}%{$python_sitelib}/ipyparallel/apps/*app.py -%python_expand chmod a+x %{buildroot}%{$python_sitelib}/ipyparallel/apps/baseapp.py -%python_expand chmod a+x %{buildroot}%{$python_sitelib}/ipyparallel/controller/heartmonitor.py +%{python_expand pushd %{buildroot}%{$python_sitelib} +chmod a+x ipyparallel/apps/*app.py +chmod a-x ipyparallel/apps/baseapp.py +chmod a+x ipyparallel/controller/heartmonitor.py +# Fix wrong-script-interpreter +sed -i "s|#!/usr/bin/env python|#!%__$python|" ipyparallel/apps/*app.py +sed -i "s|#!/usr/bin/env python|#!%__$python|" ipyparallel/controller/heartmonitor.py +# Deduplicating files can generate a RPMLINT warning for pyc mtime +$python -m compileall -d %{$python_sitearch} ipyparallel/apps/ +$python -O -m compileall -d %{$python_sitearch} ipyparallel/apps/ +$python -m compileall -d %{$python_sitearch} ipyparallel/controller/heartmonitor.py +$python -O -m compileall -d %{$python_sitearch} ipyparallel/controller/heartmonitor.py +%fdupes . +} %post %{python_install_alternative ipcluster ipcontroller ipengine}