14
0
forked from pool/python-kazoo

Accepting request 1289117 from devel:languages:python

- Switch to pyproject macros.
- Drop now unneeded Requires on six.

OBS-URL: https://build.opensuse.org/request/show/1289117
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-kazoo?expand=0&rev=18
This commit is contained in:
2025-06-30 11:06:06 +00:00
committed by Git OBS Bridge
2 changed files with 12 additions and 6 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Jun 30 04:12:52 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Switch to pyproject macros.
- Drop now unneeded Requires on six.
-------------------------------------------------------------------
Wed Nov 20 22:55:42 UTC 2024 - Matej Cepl <mcepl@cepl.eu>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-kazoo
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -22,13 +22,13 @@ Version: 2.10.0
Release: 0
Summary: Higher Level Zookeeper Client
License: Apache-2.0
Group: Development/Languages/Python
URL: https://github.com/python-zk/kazoo
Source: https://files.pythonhosted.org/packages/source/k/kazoo/kazoo-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-six
Suggests: python-pure-sasl
BuildArch: noarch
%ifpython2
@@ -44,10 +44,10 @@ Implements a higher level API to Apache Zookeeper for Python clients.
%setup -q -n kazoo-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@@ -57,6 +57,6 @@ Implements a higher level API to Apache Zookeeper for Python clients.
%license LICENSE
%doc README.md
%{python_sitelib}/kazoo
%{python_sitelib}/kazoo-%{version}*-info
%{python_sitelib}/kazoo-%{version}.dist-info
%changelog