diff --git a/ipython-7.27.0.tar.gz b/ipython-7.27.0.tar.gz deleted file mode 100644 index 20735fc..0000000 --- a/ipython-7.27.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:58b55ebfdfa260dad10d509702dc2857cb25ad82609506b070cf2d7b7df5af13 -size 5190328 diff --git a/ipython-7.28.0.tar.gz b/ipython-7.28.0.tar.gz new file mode 100644 index 0000000..adaa989 --- /dev/null +++ b/ipython-7.28.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2097be5c814d1b974aea57673176a924c4c8c9583890e7a5f082f547b9975b11 +size 5150515 diff --git a/python-ipython.changes b/python-ipython.changes index ff2bff0..dc346f3 100644 --- a/python-ipython.changes +++ b/python-ipython.changes @@ -1,3 +1,22 @@ +------------------------------------------------------------------- +Sun Oct 10 19:39:47 UTC 2021 - Ben Greiner + +- Update to version 7.28.0: + * async with doesn’t allow newlines PR #13090 + * Dynamically changing to vi mode via %config magic) PR #13091 + * init_virtualenv now uses Pathlib PR #12548 + * Fix Improper path comparison of virtualenv directories + PR #13140 + * Fix virtual environment user warning for lower case pathes + PR #13094 + * Adapt to all sorts of drive names for cygwin PR #13153 + * enable autoplay in embed YouTube player PR #13133 + +------------------------------------------------------------------- +Mon Oct 4 08:59:34 UTC 2021 - Stefan Schubert + +- Use libalternatives instead of update-alternatives. + ------------------------------------------------------------------- Wed Sep 15 05:36:58 UTC 2021 - Arun Persaud diff --git a/python-ipython.spec b/python-ipython.spec index 2098835..3dd24fa 100644 --- a/python-ipython.spec +++ b/python-ipython.spec @@ -16,6 +16,12 @@ # +%if 0%{?suse_version} > 1500 +%bcond_without libalternatives +%else +%bcond_with libalternatives +%endif + %global flavor @BUILD_FLAVOR@%{nil} %if "%{flavor}" == "test" %define psuffix -test @@ -30,7 +36,7 @@ %define skip_python36 1 %bcond_without iptest Name: python-ipython%{psuffix} -Version: 7.27.0 +Version: 7.28.0 Release: 0 Summary: Rich architecture for interactive computing with Python License: BSD-3-Clause @@ -42,7 +48,7 @@ BuildRequires: %{python_module backcall} BuildRequires: %{python_module base >= 3.7} BuildRequires: %{python_module setuptools >= 18.5} BuildRequires: fdupes -BuildRequires: python-rpm-macros +BuildRequires: python-rpm-macros >= 20210929 Requires: python-Pygments Requires: python-backcall Requires: python-base >= 3.7 @@ -82,8 +88,13 @@ BuildRequires: %{python_module ipython-iptest = %{version}} BuildRequires: desktop-file-utils BuildRequires: hicolor-icon-theme BuildRequires: update-desktop-files +%if %{with libalternatives} +Requires: alts +BuildRequires: alts +%else Requires(post): update-alternatives Requires(postun):update-alternatives +%endif %if %{with ico} BuildRequires: icoutils %endif @@ -216,6 +227,15 @@ popd %endif %if !%{with test} + +%pre +# If libalternatives is used: Removing old update-alternatives entries. +%python_libalternatives_reset_alternative ipython + +%pre iptest +# If libalternatives is used: Removing old update-alternatives entries. +%python_libalternatives_reset_alternative iptest + %post %python_install_alternative ipython ipython3 ipython.1.gz ipython3.1.gz %desktop_database_post @@ -254,7 +274,6 @@ popd %files %{python_files iptest} %python_alternative %{_bindir}/iptest %python_alternative %{_bindir}/iptest3 - %endif %endif