## START: Set by rpmautospec ## (rpmautospec version 0.6.0) ## 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 solcx Name: python-%{pypi_name} Version: 2.0.3 Release: %autorelease BuildArch: noarch Summary: Python wrapper and version management tool for the Solidity compiler License: MIT URL: https://github.com/ApeWorX/py-solc-x VCS: git:%{url}.git Source0: %{pypi_source py-solc-x} Patch1: python-solcx-0001-Ease-version-requirements.patch BuildRequires: python3-devel BuildRequires: python3-pytest BuildRequires: python3-pytest-cov %description %{summary}. %package -n python3-%{pypi_name} Summary: %{summary} %description -n python3-%{pypi_name} %{summary}. %prep %autosetup -p1 -n py-solc-x-%{version} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files -l %{pypi_name} %check %pyproject_check_import # FIXME unfortunately tests requires internet access which we currently do not # have in Koji. #%%pytest %files -n python3-%{pypi_name} -f %{pyproject_files} %doc README.md %changelog ## START: Generated by rpmautospec * Tue Aug 20 2024 Peter Lemenkov - 2.0.3-1 - Initial package ## END: Generated by rpmautospec