Hello community, here is the log from the commit of package python-pudb for openSUSE:Leap:15.2 checked in at 2020-05-01 15:07:58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2/python-pudb (Old) and /work/SRC/openSUSE:Leap:15.2/.python-pudb.new.2738 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pudb" Fri May 1 15:07:58 2020 rev:5 rq:799460 version:2019.2 Changes: -------- --- /work/SRC/openSUSE:Leap:15.2/python-pudb/python-pudb.changes 2020-03-21 16:47:41.437672085 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.python-pudb.new.2738/python-pudb.changes 2020-05-01 15:07:59.974655930 +0200 @@ -1,0 +2,5 @@ +Tue Apr 28 07:28:12 UTC 2020 - Tomáš Chvátal <[email protected]> + +- Fix build without python2 + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pudb.spec ++++++ --- /var/tmp/diff_new_pack.CQfHRY/_old 2020-05-01 15:08:00.378656808 +0200 +++ /var/tmp/diff_new_pack.CQfHRY/_new 2020-05-01 15:08:00.382656816 +0200 @@ -20,6 +20,7 @@ %define module_name pudb %define py_maj_ver %(c=%{python}) %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%bcond_without python2 Name: python-pudb Version: 2019.2 Release: 0 @@ -57,8 +58,10 @@ %install %python_install mkdir -p %{buildroot}%{_sysconfdir}/alternatives +%if %{with python2} mv -v %{buildroot}%{_bindir}/%{upstream_name} \ %{buildroot}%{_bindir}/%{upstream_name}-%{python2_bin_suffix} +%endif mv -v %{buildroot}%{_bindir}/%{upstream_name}3 \ %{buildroot}%{_bindir}/%{upstream_name}-%{python3_bin_suffix} %python_expand %fdupes %{buildroot}%{$python_sitelib} @@ -78,7 +81,6 @@ %python_uninstall_alternative pudb %check -export PYTHONPATH=$(pwd -P) export LC_ALL=en_US.utf8 # https://github.com/inducer/pudb/issues/304 %pytest -k 'not test_get_lines'
