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
|
BuildArch: noarch
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
BuildRequires: python3-setuptools
|
BuildRequires: python3-setuptools
|
||||||
|
BuildRequires: python3-pytest
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Path Specification (pathspec) is a utility library for pattern matching of file
|
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
|
%check
|
||||||
%{__python3} setup.py test
|
%pytest
|
||||||
|
|
||||||
%files -n python3-pathspec
|
%files -n python3-pathspec
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user