diff --git a/python-packaging.changes b/python-packaging.changes index 5db54e9..63879b7 100644 --- a/python-packaging.changes +++ b/python-packaging.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Apr 25 07:56:29 UTC 2022 - Hui-Zhi Zhao + +- Ignore python3.6.2 since the test doesn't support it. + ------------------------------------------------------------------- Wed Nov 24 15:16:45 UTC 2021 - Matthias Fehring diff --git a/python-packaging.spec b/python-packaging.spec index 233c8ee..f9459b2 100644 --- a/python-packaging.spec +++ b/python-packaging.spec @@ -1,7 +1,7 @@ # # spec file # -# 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 @@ -72,9 +72,10 @@ test -d packaging.egg-info %if %{with test} %check +%if "%{python_flavor}" >= "python362" # no-legacyversion-warning.patch causes these to fail %pytest -k "not (test_legacy_specifier_is_deprecated or test_legacy_version_is_deprecated)" - +%endif %endif # %%{with_test} %if !%{with test}