## 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 eth_utils Name: python-eth-utils Version: 5.2.0 Release: %autorelease BuildArch: noarch Summary: Utility functions for working with Ethereum related codebases License: MIT URL: https://github.com/ethereum/eth-utils VCS: git:%{url}.git Source0: %{pypi_source %pypi_name} Patch1: python-eth-utils-0001-Disable-this-test-we-don-t-have-internet-access-anyw.patch BuildRequires: python3-hypothesis BuildRequires: python3-pytest BuildSystem: pyproject BuildOption(prep): -n %{pypi_name}-%{version} BuildOption(install): -l %{pypi_name} %description %{summary}. %package -n python3-eth-utils Summary: %{summary} %description -n python3-eth-utils %{summary}. %prep -a # We don't have mypy fixtures anyway rm -rf ./tests/core/functional-utils/test_type_inference.py # Remove egg-info rm -rf %{pypi_name}.egg-info/ %check -a %pytest %files -n python3-eth-utils -f %{pyproject_files} %doc README.md %changelog ## START: Generated by rpmautospec * Sun Mar 23 2025 Peter Lemenkov - 5.2.0-1 - eth-typing ver. 5.2.0 * Sat Jan 18 2025 Fedora Release Engineering - 5.0.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild * Sat Oct 26 2024 Peter Lemenkov - 5.0.0-1 - Initial build ## END: Generated by rpmautospec