%bcond tests 0 Name: python-makefun Version: 1.16.0 Release: %autorelease Summary: Dynamically create python functions with a proper signature License: BSD-3-Clause URL: https://pypi.org/project/makefun Source0: %{pypi_source makefun} BuildArch: noarch BuildRequires: pyproject-rpm-macros BuildRequires: python3dist(pytest) %global _description \ %summary. %description %_description %package -n python3-makefun Summary: %{summary} %{?python_provide:%python_provide python3-makefun} %description -n python3-makefun %_description %prep %autosetup -n makefun-%{version} cat >pyproject.toml <