diff --git a/python-pathspec.spec b/python-pathspec.spec index 2daeff7..1e3cb23 100644 --- a/python-pathspec.spec +++ b/python-pathspec.spec @@ -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