Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a81dd0cba7 |
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user