%global pypi_name hvac Name: python-%{pypi_name} Version: 1.2.1 Release: 1%{?dist} Summary: HashiCorp Vault API client for Python License: Apache-2.0 URL: https://github.com/hvac/hvac Source0: %{pypi_source} BuildArch: noarch %description This package provides a Python API client for HashiCorp Vault. %package -n python3-%{pypi_name} Summary: %{summary} BuildRequires: python3-devel %description -n python3-%{pypi_name} This package provides a Python API client for HashiCorp Vault. This is for Python 3. %prep %autosetup -n %{pypi_name}-%{version} # Remove shebangs from non-executable files find hvac -type f ! -executable -name '*.py' -print -exec sed -r -i -e '1{\@^#!/usr/bin/(env )?python@d}' '{}' + %generate_buildrequires %pyproject_buildrequires -t %build %pyproject_wheel %install %pyproject_install %pyproject_save_files hvac %files -n python3-%{pypi_name} -f %{pyproject_files} %doc README.md %changelog * Tue Sep 12 2023 Andrew Heath - 1.2.1-1 - Update to 1.2.1 * Fri Sep 08 2023 Andrew Heath - 1.2.0-1 - Update to 1.2.0 * Fri Jul 21 2023 Fedora Release Engineering - 1.1.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Tue Jun 13 2023 Python Maint - 1.1.0-2 - Rebuilt for Python 3.12 * Sat Mar 11 2023 Igor Raits - 1.1.0-1 - Update to 1.1.0 * Fri Jan 20 2023 Fedora Release Engineering - 0.11.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 0.11.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jun 13 2022 Python Maint - 0.11.2-2 - Rebuilt for Python 3.11 * Fri Jan 21 2022 Fedora Release Engineering - 0.10.7-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 0.10.7-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 0.10.7-2 - Rebuilt for Python 3.10 * Fri Feb 05 2021 Igor Raits - 0.10.7-1 - Update to 0.10.7 * Wed Jan 27 2021 Fedora Release Engineering - 0.9.5-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 0.9.5-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue May 26 2020 Miro HronĨok - 0.9.5-3 - Rebuilt for Python 3.9 * Thu Jan 30 2020 Fedora Release Engineering - 0.9.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Oct 24 18:27:43 EDT 2019 Neal Gompa - 0.9.5-1 - Initial packaging for Fedora (RH#1765350)