## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 2; 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-event Name: python-%{pypi_name} Version: 1.2.5 Release: %autorelease BuildArch: noarch Summary: Tools for Ethereum event decoding and topic generation License: MIT URL: https://github.com/iamdefinitelyahuman/eth-event Source0: %{pypi_source %pypi_name} # https://github.com/iamdefinitelyahuman/eth-event/issues/32 Patch1: python-eth-event-0001-Readd-test-files-missing-in-PyPi.patch Patch2: python-eth-event-0002-Update-to-hexbytes-1.0.0.patch # https://github.com/iamdefinitelyahuman/eth-event/pull/36 Patch3: python-eth-event-0003-Update-to-eth-abi-5.0.1.patch # Fedora-specific Patch4: python-eth-event-0004-Relax-deps.patch BuildRequires: python3-pytest BuildRequires: python3-pytest-cov BuildSystem: pyproject BuildOption(prep): -n %{pypi_name}-%{version} BuildOption(install): -l eth_event %description %{summary}. %package -n python3-%{pypi_name} Summary: %{summary} %description -n python3-%{pypi_name} %{summary}. %check -a %pytest %files -n python3-%{pypi_name} -f %{pyproject_files} %doc README.md %changelog ## START: Generated by rpmautospec * Sun Mar 23 2025 Peter Lemenkov - 1.2.5-2 - Fix FTBFS * Thu Jan 23 2025 Peter Lemenkov - 1.2.5-1 - Initial build ## END: Generated by rpmautospec