1 Commits
epel10 ... f41

Author SHA1 Message Date
Benjamin A. Beasley
a81dd0cba7 F41+: Use the provisional pyproject declarative buildsystem 2025-05-06 22:38:24 -04:00

View File

@@ -8,9 +8,10 @@ License: MIT
URL: https://github.com/asottile/re-assert
Source: %{url}/archive/v%{version}/re-assert-%{version}.tar.gz
BuildArch: noarch
BuildSystem: pyproject
BuildOption(install): -l re_assert
BuildRequires: python3-devel
BuildArch: noarch
BuildRequires: %{py3_dist pytest}
@@ -26,24 +27,7 @@ Summary: %{summary}
%description -n python3-re-assert %{common_description}
%prep
%autosetup -n re-assert-%{version} -p1
%generate_buildrequires
%pyproject_buildrequires
%build
%pyproject_wheel
%install
%pyproject_install
%pyproject_save_files -l re_assert
%check
%check -a
%pytest