## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 3; 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 py-solc-ast Name: python-solc-ast Version: 1.2.10 Release: %autorelease BuildArch: noarch Summary: A tool for exploring the solc abstract syntax tree License: MIT URL: https://github.com/iamdefinitelyahuman/%{pypi_name} VCS: git:%{url}.git Source0: %{pypi_source %{pypi_name}} Patch1: python-solc-ast-0001-Remove-all-shebangs.patch BuildSystem: pyproject BuildOption(prep): -n %{pypi_name}-%{version} BuildOption(install): -l solcast %description %{summary}. %package -n python3-solc-ast Summary: %{summary} %description -n python3-solc-ast %{summary}. %check -a # FIXME Unfortunately tests requires 30+ mbytes data file #%%pytest %files -n python3-solc-ast -f %{pyproject_files} %doc README.md %changelog ## START: Generated by rpmautospec * Thu Mar 13 2025 Peter Lemenkov - 1.2.10-3 - F41+: Use the provisional declarative buildsystem * Sat Jan 18 2025 Fedora Release Engineering - 1.2.10-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild * Fri Jan 10 2025 Peter Lemenkov - 1.2.10-1 - Initial build ## END: Generated by rpmautospec