diff --git a/python-pyxdg.changes b/python-pyxdg.changes index 6654689..d28ffb6 100644 --- a/python-pyxdg.changes +++ b/python-pyxdg.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Jul 16 12:13:19 UTC 2020 - Matej Cepl + +- Skip over RulesTest.test_rule_from_node test + (https://gitlab.freedesktop.org/xdg/pyxdg/-/issues/20) + ------------------------------------------------------------------- Mon Mar 2 08:27:33 UTC 2020 - Tomáš Chvátal diff --git a/python-pyxdg.spec b/python-pyxdg.spec index 7685467..1dfd292 100644 --- a/python-pyxdg.spec +++ b/python-pyxdg.spec @@ -55,8 +55,7 @@ PyXDG is a python library to access freedesktop.org standards. Currently support %prep %setup -q -n pyxdg-%{version} -%patch0 -p1 -%patch1 -p1 +%autopatch -p1 %build %python_build @@ -69,8 +68,9 @@ PyXDG is a python library to access freedesktop.org standards. Currently support # https://gitlab.freedesktop.org/xdg/pyxdg/issues/15 # test_get_type{,2} both fail but come from s-m-i package for data # https://gitlab.freedesktop.org/xdg/pyxdg/merge_requests/4 +# RulesTest.test_rule_from_node failure is https://gitlab.freedesktop.org/xdg/pyxdg/-/issues/20 %{python_expand sed -i "s/Exec=python.*$/Exec=$python/" test/resources.py -PYTHONPATH=%{buildroot}%{$python_sitelib} pytest-%{$python_bin_suffix} test/test-*.py -v -k 'not test_get_type' +PYTHONPATH=%{buildroot}%{$python_sitelib} pytest-%{$python_bin_suffix} test/test-*.py -v -k 'not (test_get_type or test_rule_from_node)' } %files %{python_files}