## START: Set by rpmautospec ## (rpmautospec version 0.8.1) ## 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 Name: openapi-python-client Version: 0.26.2 Release: %autorelease Summary: Generate modern Python clients from OpenAPI License: MIT URL: https://github.com/openapi-generators/openapi-python-client Source: %{url}/archive/refs/tags/v%{version}/openapi-python-client-%{version}.tar.gz Source1: openapi-python-client.man1 BuildRequires: python3-devel BuildRequires: python3-hatchling BuildRequires: python3-mypy BuildRequires: python3-pytest BuildRequires: python3-pytest-mock BuildArch: noarch %global _description %{expand: The openapi-python-client is a powerful tool designed to generate modern Python clients from OpenAPI 3.0+ documents supporting both synchronous and asynchronous HTTP requests. It automates the creation of Python classes and methods that correspond to the endpoints and schema defined in your OpenAPI specification, making it easier to interact with your API in a type-safe manner.} %description %{_description} %package -n python3-%{name} Summary: %{summary} %description -n python3-%{name} %{_description} %prep %autosetup -p1 -n openapi-python-client-%{version} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files -l openapi_python_client mkdir -p %{buildroot}%{_mandir}/man1 cp %{SOURCE1} %{buildroot}%{_mandir}/man1/%{name}.1 gzip %{buildroot}%{_mandir}/man1/%{name}.1 %check %pyproject_check_import %pytest tests %files -n %{name} -f %{pyproject_files} %attr(755,root,root) %{_bindir}/%{name} %{_mandir}/man1/%{name}.1.* %doc README.md %doc CHANGELOG.md %license LICENSE %changelog ## START: Generated by rpmautospec * Sat Oct 18 2025 Doğukan Çağatay - 0.26.2-1 - Update openapi-python-client to 0.26.2 - Bump version from 0.26.1 to 0.26.2 in spec file - Update man page to version 0.26.2 - Remove allow-typer-0.19.patch (no longer needed with 0.26.2) - Remove %%bcond tests 1 and conditional test execution * Wed Oct 01 2025 Doğukan Çağatay - 0.26.1-1 - Update version 0.26.1 - Update upstream version 0.26.1 - Delete old patch for the fix of the CLI tests fix-test-cli-1309.patch - Update allow-typer-0.19.patch * Sat Sep 20 2025 Benjamin A. Beasley - 0.26.0-5 - Allow typer 0.19 * Sat Sep 20 2025 Benjamin A. Beasley - 0.26.0-4 - Allow typer 0.18 * Fri Sep 19 2025 Python Maint - 0.26.0-3 - Rebuilt for Python 3.14.0rc3 bytecode * Sun Aug 31 2025 Benjamin A. Beasley - 0.26.0-2 - Allow typer 0.17 * Sat Aug 30 2025 Doğukan Çağatay - 0.26.0-1 - Update version 0.26.0 - Update upstream version 0.26.0 - Add patch for the fix of the CLI tests fix-test-cli-1309.patch - Delete old patch openapi-python-client-0.24.3-typer-0.16.patch * Fri Aug 15 2025 Python Maint - 0.24.3-5 - Rebuilt for Python 3.14.0rc2 bytecode * Thu Jul 24 2025 Fedora Release Engineering - 0.24.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild * Sun Jun 22 2025 Python Maint - 0.24.3-3 - Rebuilt for Python 3.14 * Tue May 27 2025 Benjamin A. Beasley - 0.24.3-2 - Allow typer 0.16 * Thu Apr 03 2025 Doğukan Çağatay - 0.24.3-1 - Update to upstream version 0.24.3 * Sat Mar 29 2025 Doğukan Çağatay - 0.24.2-1 - Initial import (fedora#2352654) ## END: Generated by rpmautospec