diff --git a/python-pyxdg.changes b/python-pyxdg.changes index 27c66af..d31c8bc 100644 --- a/python-pyxdg.changes +++ b/python-pyxdg.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Sep 26 08:43:46 UTC 2023 - Markéta Machová + +- Don't import deprecated imp module + ------------------------------------------------------------------- Fri Apr 21 12:32:33 UTC 2023 - Dirk Müller diff --git a/python-pyxdg.spec b/python-pyxdg.spec index 3c70fe8..8bb2510 100644 --- a/python-pyxdg.spec +++ b/python-pyxdg.spec @@ -54,6 +54,7 @@ PyXDG is a python library to access freedesktop.org standards. Currently support %setup -q -n pyxdg-%{version} -b 1 %autopatch -p1 cp -r ../pyxdg-rel-%{version}-test-example/test/example test/ +sed -i 's/imp /importlib /' test/test_basedirectory.py %build %python_build