Hello community, here is the log from the commit of package python3-sympy for openSUSE:Factory checked in at 2015-10-08 08:24:06 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python3-sympy (Old) and /work/SRC/openSUSE:Factory/.python3-sympy.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python3-sympy" Changes: -------- --- /work/SRC/openSUSE:Factory/python3-sympy/python3-sympy.changes 2015-01-23 15:47:00.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.python3-sympy.new/python3-sympy.changes 2015-10-08 08:24:07.000000000 +0200 @@ -1,0 +2,14 @@ +Sun Sep 27 01:27:00 UTC 2015 - a...@gmx.de + +- update to version 0.7.6.1: + * Fix pretty printing in the Jupyter notebook and Jupyter qtconsole + for Jupyter 4.0. + * The deprecated linearization method in the mechanics module no + longer fails to execute. + +------------------------------------------------------------------- +Thu Sep 17 14:39:14 UTC 2015 - p.drou...@gmail.com + +- Fix update-alternatives usage + +------------------------------------------------------------------- Old: ---- sympy-0.7.6.tar.gz New: ---- sympy-0.7.6.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python3-sympy.spec ++++++ --- /var/tmp/diff_new_pack.25hL14/_old 2015-10-08 08:24:08.000000000 +0200 +++ /var/tmp/diff_new_pack.25hL14/_new 2015-10-08 08:24:08.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package python3-sympy # -# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: python3-sympy -Version: 0.7.6 +Version: 0.7.6.1 Release: 0 Summary: Python library for symbolic mathematics License: BSD-3-Clause @@ -25,8 +25,8 @@ Url: http://code.google.com/p/sympy/ Source0: https://github.com/sympy/sympy/releases/download/sympy-%{version}/sympy-%{version}.tar.gz BuildRequires: python3-devel -#BuildRequires: python3-setuptools -BuildRoot: %{_tmppath}/%{name}-%{version}-build +Requires(post): update-alternatives +Requires(postun): update-alternatives BuildArch: noarch %description @@ -39,28 +39,33 @@ %prep %setup -q -n sympy-%{version} # For rpmlint warning: remove shebang from python library: -sed -i '/^#!/d' ./sympy/mpmath/tests/runtests.py + sed -i '1 { /^#!/ d }' \ + sympy/utilities/tests/diagnose_imports.py \ + sympy/mpmath/matrices/eigen.py \ + sympy/mpmath/tests/runtests.py \ + sympy/mpmath/matrices/eigen_symmetric.py \ + sympy/mpmath/tests/test_levin.py \ + sympy/mpmath/tests/test_eigen_symmetric.py \ + sympy/mpmath/tests/test_eigen.py \ + sympy/benchmarks/bench_symbench.py %build python3 setup.py build %install python3 setup.py install --root=%{buildroot} --prefix=%{_prefix} +# for update-alternatives +mkdir -p %{buildroot}%{_sysconfdir}/alternatives mv %{buildroot}%{_bindir}/isympy %{buildroot}%{_bindir}/isympy-%{py3_ver} -ln -s %{_bindir}/isympy-%{py3_ver} %{buildroot}%{_bindir}/isympy +touch %{buildroot}%{_sysconfdir}/alternatives/isympy +ln -s %{_sysconfdir}/alternatives/isympy %{buildroot}%{_bindir}/isympy mv %{buildroot}%{_mandir}/man1/isympy.1 %{buildroot}%{_mandir}/man1/isympy-%{py3_ver}.1 -ln -s %{_mandir}/man1/isympy-%{py3_ver}.1 %{buildroot}%{_mandir}/man1/isympy.1 - -%pre -# Since /usr/bin/isympy and /usr/share/man/man1/isympy.1.gz became ghosted to be used -# with update-alternatives, we have to get rid of the old binary resulting from the -# non-update-alternativies-ified package: -[ -h %{_bindir}/isympy ] || rm -f %{_bindir}/isympy -[ -h %{_mandir}/man1/isympy.1.gz ] || rm -f %{_mandir}/man1/isympy.1.gz +touch %{buildroot}%{_sysconfdir}/alternatives/isympy.1.gz +ln -s %{_sysconfdir}/alternatives/isympy.1.gz %{buildroot}%{_mandir}/man1/isympy.1.gz %post update-alternatives \ - --install %{_bindir}/isympy isympy %{_bindir}/isympy-%{py3_ver} 30 \ + --install %{_bindir}/isympy isympy %{_bindir}/isympy-%{py3_ver} 20 \ --slave %{_mandir}/man1/isympy.1.gz isympy.1 %{_mandir}/man1/isympy-%{py3_ver}.1.gz %preun @@ -71,10 +76,12 @@ %files %defattr(-,root,root,-) %doc LICENSE README.rst -%ghost %{_bindir}/isympy +%{_bindir}/isympy %{_bindir}/isympy-%{py3_ver} -%ghost %{_mandir}/man1/isympy.1.gz +%{_mandir}/man1/isympy.1.gz %{_mandir}/man1/isympy-%{py3_ver}.1.gz +%ghost %{_sysconfdir}/alternatives/isympy +%ghost %{_sysconfdir}/alternatives/isympy.1.gz %{python3_sitelib}/sympy %{python3_sitelib}/sympy-%{version}-py%{py3_ver}.egg-info ++++++ sympy-0.7.6.tar.gz -> sympy-0.7.6.1.tar.gz ++++++ /work/SRC/openSUSE:Factory/python3-sympy/sympy-0.7.6.tar.gz /work/SRC/openSUSE:Factory/.python3-sympy.new/sympy-0.7.6.1.tar.gz differ: char 5, line 1