diff --git a/python-guessit.changes b/python-guessit.changes index fa6784e..4151330 100644 --- a/python-guessit.changes +++ b/python-guessit.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Sep 3 09:01:03 UTC 2018 - Tomáš Chvátal + +- Update package test syntax to match up other python pkgs + ------------------------------------------------------------------- Sat Sep 1 11:14:33 UTC 2018 - aloisio@gmx.com diff --git a/python-guessit.spec b/python-guessit.spec index 9a94007..d6503ef 100644 --- a/python-guessit.spec +++ b/python-guessit.spec @@ -69,10 +69,10 @@ done %python_expand %fdupes -s %{buildroot}%{$python_sitelib} %check -%{python_expand pushd %{buildroot}%{$python_sitelib}/guessit -$python %{_bindir}/py.test -rm -rf .benchmarks .pytest_cache -popd +export LANG='en_US.UTF8' +export PYTHONDONTWRITEBYTECODE=1 +%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitelib} +py.test-%{$python_version} guessit/test } %files %{python_files}