Hello community,

here is the log from the commit of package python3-jupyter_ipython for 
openSUSE:Factory checked in at 2017-07-17 09:09:54
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python3-jupyter_ipython (Old)
 and      /work/SRC/openSUSE:Factory/.python3-jupyter_ipython.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python3-jupyter_ipython"

Mon Jul 17 09:09:54 2017 rev:12 rq:509965 version:6.0.0

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python3-jupyter_ipython/python3-jupyter_ipython-doc.changes
      2017-05-17 17:14:50.374809018 +0200
+++ 
/work/SRC/openSUSE:Factory/.python3-jupyter_ipython.new/python3-jupyter_ipython-doc.changes
 2017-07-17 09:09:55.630340629 +0200
@@ -1,0 +2,5 @@
+Thu Jul 13 02:33:23 UTC 2017 - toddrme2...@gmail.com
+
+- Fix shebang rpmint errors.
+
+-------------------------------------------------------------------
python3-jupyter_ipython.changes: same change

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python3-jupyter_ipython-doc.spec ++++++
--- /var/tmp/diff_new_pack.1q16O6/_old  2017-07-17 09:09:56.526214448 +0200
+++ /var/tmp/diff_new_pack.1q16O6/_new  2017-07-17 09:09:56.530213885 +0200
@@ -66,6 +66,8 @@
 %prep
 %setup -q -n ipython-%{version}
 
+find examples -type f -name "*.py" -exec sed -i "s|^#!/usr/bin/env 
python$|#!/usr/bin/python3|" {} \;
+
 %build
 # Build the documentation
 export LANG="en_US.UTF-8"

++++++ python3-jupyter_ipython.spec ++++++
--- /var/tmp/diff_new_pack.1q16O6/_old  2017-07-17 09:09:56.554210505 +0200
+++ /var/tmp/diff_new_pack.1q16O6/_new  2017-07-17 09:09:56.554210505 +0200
@@ -117,6 +117,12 @@
 %prep
 %setup -q -n ipython-%{version}
 
+sed -i "s|^#!/usr/bin/env python$|#!/usr/bin/python3|" 
IPython/testing/plugin/iptest.py
+sed -i "s|^#!/usr/bin/env python$|#!/usr/bin/python3|" 
IPython/testing/plugin/setup.py
+sed -i "s|^#!/usr/bin/env python$|#!/usr/bin/python3|" 
IPython/terminal/ipapp.py
+
+find . -type f -name "*.py" -exec sed -i 
"s|^#!/usr/bin/python$|#!/usr/bin/python3|" {} \;
+
 %build
 python3 setup.py build
 
@@ -131,6 +137,8 @@
 # Prepare for update-alternatives usage
 mkdir -p %{buildroot}%{_sysconfdir}/alternatives
 for p in ipython iptest ; do
+    sed -i "s|^#!/usr/bin/python$|#!/usr/bin/python3|" 
%{buildroot}%{_bindir}/${p}
+    sed -i "s|^#!/usr/bin/python$|#!/usr/bin/python3|" 
%{buildroot}%{_bindir}/${p}3
     mv %{buildroot}%{_bindir}/$p %{buildroot}%{_bindir}/$p-%{py3_ver}
     ln -s -f %{_sysconfdir}/alternatives/$p %{buildroot}%{_bindir}/$p
     # create a dummy target for /etc/alternatives/$p


Reply via email to