## 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 srcname elastic-transport %global _desc %{expand: \ Transport classes and utilities shared among Python Elastic client libraries This library was lifted from elasticsearch-py and then transformed to be used across all Elastic services rather than only Elasticsearch.} Name: python-%{srcname} Version: 8.13.1 Release: %autorelease Summary: Transport classes and utilities shared among Python Elastic License: Apache-2.0 URL: https://github.com/elastic/elastic-transport-python Source0: %{url}/archive/v%{version}/%{srcname}-%{version}.tar.gz Patch0: remove-mock.patch BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-pytest %description %{_desc} %package -n python3-%{srcname} Summary: %{summary} %description -n python3-%{srcname} %{_desc} %prep %autosetup -p1 -n %{srcname}-python-%{version} %generate_buildrequires %pyproject_buildrequires -r -x develop %build %pyproject_wheel %install %pyproject_install %pyproject_save_files elastic_transport %check %pytest -v -k 'not test_http_aiohttp and not test_urllib3_chain_certs and not test_tls_versions and not test_ssl_assert_fingerprint and not httpx' %files -n python3-%{srcname} -f %{pyproject_files} %doc CHANGELOG.md README.md %changelog ## START: Generated by rpmautospec * Thu Aug 01 2024 Ali Erdinc Koroglu - 8.13.1-1 - Update to 8.13.1 * Fri Jul 19 2024 Fedora Release Engineering - 8.4.0-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Sun Jun 09 2024 Python Maint - 8.4.0-8 - Rebuilt for Python 3.13 * Sat Jan 27 2024 Maxwell G - 8.4.0-7 - Remove unused python3-mock test dependency * Fri Jan 26 2024 Fedora Release Engineering - 8.4.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 8.4.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 8.4.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Thu Jun 29 2023 Python Maint - 8.4.0-3 - Rebuilt for Python 3.12 * Fri Jan 20 2023 Fedora Release Engineering - 8.4.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Wed Sep 21 2022 aekoroglu - 8.4.0-1 - update to 8.4.0 * Wed Jul 27 2022 aekoroglu - 8.1.2-5 - source switch pypi to github for testing * Wed Jul 27 2022 aekoroglu - 8.1.2-4 - build dep changes * Fri Jul 22 2022 Fedora Release Engineering - 8.1.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Sat May 21 2022 Ali Erdinc Koroglu - 8.1.2-1 - Initial package ## END: Generated by rpmautospec