17
0
Files
python-confluent-kafka/python-confluent-kafka.spec
Dirk Mueller 98528bb9b0 - update to 2.3.0:
* Add Python 3.12 wheels
  * KIP-117: Add support for AdminAPI `describe_cluster()` and
    `describe_topics()`. (@jainruchir, #1635)
  * KIP-430:
  * Return authorized operations in Describe Responses.
    (@jainruchir, #1635)
  * KIP-516: Partial support of topic identifiers. Topic
    identifiers in metadata response are available through the
    new describe_topics function (#1645).
  * KIP-396: completed the implementation with the addition of
    `list_offsets` (#1576).
  * Add `Rack` to the `Node` type, so AdminAPI calls can expose
    racks for brokers
  * Fix the Describe User Scram Credentials for Describe all
    users or empty users list.
  * confluent-kafka-python is based on librdkafka v2.3.0, see the
    librdkafka release notes for a complete list of changes,
    enhancements, fixes and upgrade considerations.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-confluent-kafka?expand=0&rev=15
2023-12-02 19:26:48 +00:00

57 lines
1.7 KiB
RPMSpec

#
# spec file for package python-confluent-kafka
#
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?sle15_python_module_pythons}
Name: python-confluent-kafka
Version: 2.3.0
Release: 0
Summary: Confluent's Apache Kafka client for Python
License: Apache-2.0
Group: Development/Languages/Python
URL: https://github.com/confluentinc/confluent-kafka-python
Source: https://files.pythonhosted.org/packages/source/c/confluent-kafka/confluent-kafka-%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: librdkafka-devel >= %{version}
BuildRequires: python-rpm-macros
%python_subpackages
%description
Confluent's Apache Kafka client for Python
%prep
%setup -q -n confluent-kafka-%{version}
%build
export CFLAGS="%{optflags}"
%python_build
%install
%python_install
rm -v %{buildroot}/%{_prefix}/LICENSE.txt
%python_expand %fdupes %{buildroot}%{$python_sitearch}
%files %{python_files}
%license LICENSE.txt
%doc README.md
%{python_sitearch}/*
%changelog