Name: python-re-assert Version: 1.1.0 Release: %autorelease Summary: Show where your regex match assertion failed # SPDX License: MIT URL: https://github.com/asottile/re-assert Source0: %{url}/archive/v%{version}/re-assert-%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel BuildRequires: %{py3_dist setuptools} # For tests BuildRequires: %{py3_dist pytest} BuildRequires: %{py3_dist regex} %global common_description %{expand: %{summary}!} %description %{common_description} %package -n python3-re-assert Summary: %summary %py_provides python3-re-assert %description -n python3-re-assert %{common_description} %prep %autosetup -n re-assert-%{version} %build %py3_build %install %py3_install %check %pytest %files -n python3-re-assert %license LICENSE %doc README.md %pycached %{python3_sitelib}/re_assert.py %{python3_sitelib}/re_assert-%{version}-py%{python3_version}.egg-info/ %changelog %autochangelog