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