## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec %global sname aiokafka %global owner aio-libs # crc32c does not support big-endian arch: # https://github.com/aio-libs/aiokafka/blob/bb15ecfb4c85026b2bded912ab7ba7c7e1db3271/aiokafka/record/_crecords/crc32c.c#L101 %bcond c_extensions %["%{_arch}" != "s390x"] %{!?with_c_extensions:%global debug_package %{nil}} Name: python-%{sname} Version: 0.11.0 Release: %autorelease Summary: Asyncio client for Kafka # Automatically converted from old format: ASL 2.0 - review is highly recommended. License: Apache-2.0 Source0: https://github.com/%{owner}/%{sname}/archive/v%{version}/%{sname}-%{version}.tar.gz URL: https://github.com/%{owner}/%{sname} # https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval ExcludeArch: %{ix86} BuildRequires: python3-devel BuildRequires: gcc BuildRequires: python3dist(docker) BuildRequires: python3dist(pytest) BuildRequires: python3dist(pytest-asyncio) BuildRequires: python3dist(pytest-mock) BuildRequires: snappy-devel BuildRequires: zlib-devel %description %{summary} %package -n python3-%{sname} Summary: %{summary} %description -n python3-%{sname} %{summary} %prep %autosetup -p1 -n %{sname}-%{version} %if %{without c_extensions} sed -i "s/ ext_modules/# ext_modules/" setup.py %endif # See: https://github.com/aio-libs/aiokafka/issues/1049 sed -i -E 's/[[:digit:]]+, id="lz4"/None, id="lz4"/g' tests/record/test_default_records.py %generate_buildrequires %pyproject_buildrequires -x snappy,lz4,zstd,gssapi,all %build %pyproject_wheel %install %pyproject_install %pyproject_save_files %{sname} %check %{!?with_c_extensions:AIOKAFKA_NO_EXTENSIONS=1} %pytest --import-mode append ${tests_dir} %files -n python3-%{sname} -f %{pyproject_files} %license LICENSE %doc README.rst %changelog ## START: Generated by rpmautospec * Tue Oct 01 2024 Roman Inflianskas - 0.11.0-1 - Update to 0.11.0 (fedora#2295422) * Mon Sep 30 2024 Benjamin A. Beasley - 0.10.0-9 - Drop i686 support (leaf package) * Wed Jul 24 2024 Miroslav Suchý - 0.10.0-8 - convert ASL 2.0 license to SPDX * Fri Jul 19 2024 Fedora Release Engineering - 0.10.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Sat Jun 08 2024 Python Maint - 0.10.0-6 - Rebuilt for Python 3.13 * Mon Feb 26 2024 Roman Inflianskas - 0.10.0-5 - Fix Cython version unpinning * Mon Feb 19 2024 Roman Inflianskas - 0.10.0-4 - Disable building extensions on s390x * Mon Feb 19 2024 Roman Inflianskas - 0.10.0-3 - Enable all extras and tests * Thu Feb 15 2024 Roman Inflianskas - 0.10.0-2 - Cleanup dependencies * Thu Feb 15 2024 Roman Inflianskas - 0.10.0-1 - Update to 0.10.0 (fedora#2250920) * Thu Feb 15 2024 Roman Inflianskas - 0.8.1-7 - Use autorelease macro -* Fri Jan 26 2024 Fedora Release Engineering - 0.8.1-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild - -* Sun Jan 21 2024 Fedora Release Engineering - 0.8.1-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild - -* Fri Jul 21 2023 Fedora Release Engineering - 0.8.1-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild - -* Thu Jul 13 2023 Roman Inflianskas - 0.8.1-2 -- Rebuilt for Python 3.12 (fedora#2220104) - -* Thu Jun 29 2023 Roman Inflianskas - 0.8.1-1 -- Update to 0.8.1 (resolve rhbz#2211696) - -* Fri Jan 20 2023 Fedora Release Engineering - 0.8.0-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild - -* Tue Jan 10 2023 Italo Garcia - 0.8.0-1 -- Update to version 0.8.0 - -* Tue Jul 12 2022 Italo Garcia - 0.7.2-1 -- Initial package ## END: Generated by rpmautospec