Accepting request 1172148 from devel:languages:python

- Enable tests again,
  https://storyboard.openstack.org/#!/story/2009250 is solved.
- Fix build for Backports with python 3.6, bsc#1222933

OBS-URL: https://build.opensuse.org/request/show/1172148
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-gear?expand=0&rev=9
This commit is contained in:
Ana Guerrero 2024-05-06 15:55:12 +00:00 committed by Git OBS Bridge
commit e172de3ffe
2 changed files with 14 additions and 4 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Mon May 6 10:51:00 UTC 2024 - Daniel Garcia <daniel.garcia@suse.com>
- 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 <yarunachalam@suse.com>

View File

@ -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