diff --git a/python-chardet.changes b/python-chardet.changes index cb7b1f3..1bc59b3 100644 --- a/python-chardet.changes +++ b/python-chardet.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Aug 25 13:09:48 UTC 2017 - tbechtold@suse.com + +- Fix build for Leap-42.3 + ------------------------------------------------------------------- Tue Aug 15 09:57:21 UTC 2017 - dmueller@suse.com diff --git a/python-chardet.spec b/python-chardet.spec index 4bed95b..12ef1d4 100644 --- a/python-chardet.spec +++ b/python-chardet.spec @@ -81,7 +81,7 @@ mv %{buildroot}%{_bindir}/chardetect %{buildroot}%{_bindir}/chardetect-%{$python %prepare_alternative chardetect %check -%python_exec setup.py test +%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_version} test.py %post %python_install_alternative chardetect