diff --git a/python-evdev.changes b/python-evdev.changes index 69ccd79..e6d9314 100644 --- a/python-evdev.changes +++ b/python-evdev.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Jan 10 20:16:20 UTC 2022 - Matthias Bach + +- Work around broken pytest macro on Leap 15.3 + ------------------------------------------------------------------- Fri Apr 9 20:28:30 UTC 2021 - Ben Greiner diff --git a/python-evdev.spec b/python-evdev.spec index 5451c42..fb9df0e 100644 --- a/python-evdev.spec +++ b/python-evdev.spec @@ -1,7 +1,7 @@ # # spec file for package python-evdev # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -57,6 +57,10 @@ subsystem. %python_expand %fdupes %{buildroot}/%{$python_sitearch} %check +%if 0%{?sle_version} == 150300 && 0%{?is_opensuse} +# Work around broken pytest macro on Leap 15.3 +PYTHONPATH=dummy +%endif %pytest_arch tests -k 'not test_uinput' %files %{python_files}