Replace deprecated setup.py test with %pytest
This commit is contained in:
parent
b39ea2e6b9
commit
5c9b86e0f7
@ -10,6 +10,7 @@ Source0: https://files.pythonhosted.org/packages/source/p/pathspec/pathsp
|
||||
BuildArch: noarch
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-setuptools
|
||||
BuildRequires: python3-pytest
|
||||
|
||||
%description
|
||||
Path Specification (pathspec) is a utility library for pattern matching of file
|
||||
@ -36,7 +37,7 @@ is derived from Rsync's wildmatch. Git uses wildmatch for its gitignore files.
|
||||
|
||||
|
||||
%check
|
||||
%{__python3} setup.py test
|
||||
%pytest
|
||||
|
||||
%files -n python3-pathspec
|
||||
%doc README.rst
|
||||
|
||||
Loading…
Reference in New Issue
Block a user