%global pypi_name eip712 Name: python-%{pypi_name} # FIXME we have to stick with this version since we cant upgrade eth-account yet Version: 0.2.7 Release: %autorelease BuildArch: noarch Summary: Message classes for typed structured data hashing and signing in Ethereum License: Apache-2.0 URL: https://github.com/ApeWorX/eip712 VCS: git:%{url}.git Source0: %{pypi_source eip712} Patch1: python-eip712-0001-feat-3.8-drop-and-upgrade-eth-dependencies-45.patch BuildRequires: python3-devel 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} %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 %autochangelog