diff --git a/python-pylint.changes b/python-pylint.changes index e4c40d8..b32eac5 100644 --- a/python-pylint.changes +++ b/python-pylint.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jul 31 18:44:31 UTC 2019 - Tomáš Chvátal + +- Do not install tests on system + ------------------------------------------------------------------- Sat Jun 8 08:34:05 UTC 2019 - Michael Ströder diff --git a/python-pylint.spec b/python-pylint.spec index d0f71f6..eb4ec99 100644 --- a/python-pylint.spec +++ b/python-pylint.spec @@ -75,7 +75,7 @@ feature. %install %python_install - +%python_expand rm -r %{buildroot}%{$python_sitelib}/pylint/test/ for p in pylint epylint pyreverse symilar ; do %python_clone -a %{buildroot}%{_bindir}/$p done @@ -90,7 +90,7 @@ done %check export PYTHONDONTWRITEBYTECODE=1 -%python_expand PYTHONPATH="%{buildroot}%{$python_sitelib}" py.test-%{$python_bin_suffix} pylint/test/ +%pytest pylint/test %files %{python_files} %license COPYING