diff --git a/python-gear.changes b/python-gear.changes index 6f0add7..3cd4453 100644 --- a/python-gear.changes +++ b/python-gear.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Mon May 6 10:51:00 UTC 2024 - Daniel Garcia + +- Enable tests again, + https://storyboard.openstack.org/#!/story/2009250 is solved. +- Fix build for Backports with python 3.6, bsc#1222933 + ------------------------------------------------------------------- Wed Sep 28 19:51:07 UTC 2022 - Yogalakshmi Arunachalam diff --git a/python-gear.spec b/python-gear.spec index f828198..301cb56 100644 --- a/python-gear.spec +++ b/python-gear.spec @@ -1,7 +1,7 @@ # # spec file for package python-gear # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -44,7 +44,7 @@ Requires: python-pbr >= 1.8.0 Requires: python-python-daemon >= 2.0.4 Requires: python-six >= 1.5.2 Requires(post): update-alternatives -Requires(postun):update-alternatives +Requires(postun): update-alternatives BuildArch: noarch %python_subpackages @@ -53,6 +53,10 @@ A pure-Python asynchronous library to interface with Gearman. %prep %setup -q -n gear-%{version} +%if 0%{?sle_version} <= 150600 +# Remove project url in setup.cfg, this conf fails with old python +sed -i '9,13d' setup.cfg +%endif %build %python_build @@ -63,8 +67,7 @@ A pure-Python asynchronous library to interface with Gearman. %python_clone -a %{buildroot}%{_bindir}/geard %check -# Switched off because of https://storyboard.openstack.org/#!/story/2009250 -# %%pyunittest discover -v +%pyunittest discover -v %post %python_install_alternative geard