Hello community,
here is the log from the commit of package python-jupyter_ipython for
openSUSE:Factory checked in at 2017-07-17 09:09:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-jupyter_ipython (Old)
and /work/SRC/openSUSE:Factory/.python-jupyter_ipython.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-jupyter_ipython"
Mon Jul 17 09:09:50 2017 rev:5 rq:509963 version:5.3.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-jupyter_ipython/python-jupyter_ipython-doc.changes
2017-05-17 17:11:34.878367996 +0200
+++
/work/SRC/openSUSE:Factory/.python-jupyter_ipython.new/python-jupyter_ipython-doc.changes
2017-07-17 09:09:52.274813242 +0200
@@ -1,0 +2,5 @@
+Thu Jul 13 02:33:23 UTC 2017 - [email protected]
+
+- Fix shebang rpmint errors.
+
+-------------------------------------------------------------------
python-jupyter_ipython.changes: same change
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-jupyter_ipython-doc.spec ++++++
--- /var/tmp/diff_new_pack.keLkaY/_old 2017-07-17 09:09:54.898443713 +0200
+++ /var/tmp/diff_new_pack.keLkaY/_new 2017-07-17 09:09:54.902443150 +0200
@@ -43,7 +43,7 @@
Provides: %{name}-pdf = %{version}
Obsoletes: %{name}-html < %{version}
Obsoletes: %{name}-pdf < %{version}
-Provides: python-jupyter_ipython-doc = %{version}
+Provides: python2-jupyter_ipython-doc = %{version}
%description
Documentation and help files for python-jupyter_ipython.
@@ -55,6 +55,8 @@
%prep
%setup -q -n ipython-%{version}
+find examples -type f -name "*.py" -exec sed -i "s|#!/usr/bin/env
python|#!/usr/bin/python2|" {} \;
+
%build
# Don't need to do anything here
++++++ python-jupyter_ipython.spec ++++++
--- /var/tmp/diff_new_pack.keLkaY/_old 2017-07-17 09:09:54.926439770 +0200
+++ /var/tmp/diff_new_pack.keLkaY/_new 2017-07-17 09:09:54.926439770 +0200
@@ -106,7 +106,7 @@
* Easily embeddable in other Python programs and GUIs.
* Integrated access to the pdb debugger and the Python profiler.
-IMPORTANT: The Python 3 version of IPython is in long-term support
+IMPORTANT: The Python 2 version of IPython is in long-term support
mode. It will not be receiving major new features. Starting with
IPython 6, only Python 3.3 and later is supported.
@@ -126,13 +126,19 @@
This package provides the iptest command, which is used for
testing software that uses %{name}.
-IMPORTANT: The Python 3 version of IPython is in long-term support
+IMPORTANT: The Python 2 version of IPython is in long-term support
mode. It will not be receiving major new features. Starting with
IPython 6, only Python 3.3 and later is supported.
%prep
%setup -q -n ipython-%{version}
+sed -i "s|#!/usr/bin/env python|#!/usr/bin/python|"
IPython/testing/plugin/iptest.py
+sed -i "s|#!/usr/bin/env python|#!/usr/bin/python|"
IPython/testing/plugin/setup.py
+sed -i "s|#!/usr/bin/env python|#!/usr/bin/python|" IPython/terminal/ipapp.py
+
+find . -type f -name "*.py" -exec sed -i
"s|#!/usr/bin/python|#!/usr/bin/python2|" {} \;
+
%build
python setup.py build
@@ -147,6 +153,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/python2|"
%{buildroot}%{_bindir}/${p}
+ sed -i "s|#!/usr/bin/python|#!/usr/bin/python2|"
%{buildroot}%{_bindir}/${p}2
mv %{buildroot}%{_bindir}/$p %{buildroot}%{_bindir}/$p-%{py_ver}
ln -s -f %{_sysconfdir}/alternatives/$p %{buildroot}%{_bindir}/$p
# create a dummy target for /etc/alternatives/$p