## 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 pypi_name hexbytes Name: python-%{pypi_name} Version: 1.3.0 Release: %autorelease BuildArch: noarch Summary: Python `bytes` subclass that decodes hex, with a readable console output License: MIT URL: https://github.com/ethereum/hexbytes VCS: git:%{url}.git Source0: %{pypi_source %pypi_name} BuildRequires: python3-devel BuildRequires: python3-eth-utils BuildRequires: python3-hypothesis BuildRequires: python3-pytest %description %{summary}. %package -n python3-%{pypi_name} Summary: %{summary} %description -n python3-%{pypi_name} %{summary}. %prep %autosetup -p1 -n %{pypi_name}-%{version} # FIXME requires internet-access rm -f scripts/release/test_package.py %generate_buildrequires %pyproject_buildrequires -t %build %pyproject_wheel %install %pyproject_install %pyproject_save_files -l %{pypi_name} %check %pyproject_check_import %pytest %files -n python3-%{pypi_name} -f %{pyproject_files} %doc README.md %changelog ## START: Generated by rpmautospec * Mon Feb 03 2025 Peter Lemenkov - 1.3.0-1 - hexbytes ver. 1.3.0 * Sat Jan 18 2025 Fedora Release Engineering - 1.2.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild * Thu Sep 12 2024 Peter Lemenkov - 1.2.1-1 - Initial build (bootstrap) ## END: Generated by rpmautospec