diff --git a/python-click-spinner-remove-six.patch b/python-click-spinner-remove-six.patch new file mode 100644 index 0000000..370ba4a --- /dev/null +++ b/python-click-spinner-remove-six.patch @@ -0,0 +1,13 @@ +Index: click-spinner-0.1.10/tests/test_spinner.py +=================================================================== +--- click-spinner-0.1.10.orig/tests/test_spinner.py ++++ click-spinner-0.1.10/tests/test_spinner.py +@@ -2,7 +2,7 @@ import sys + import os + import time + import tempfile +-from six import StringIO ++from io import StringIO + import click + from click.testing import CliRunner + diff --git a/python-click-spinner.changes b/python-click-spinner.changes index 9522f7b..4998e1e 100644 --- a/python-click-spinner.changes +++ b/python-click-spinner.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Sep 20 12:23:36 UTC 2022 - pgajdos@suse.com + +- added patches + fix https://github.com/click-contrib/click-spinner + + python-click-spinner-remove-six.patch + ------------------------------------------------------------------- Tue May 18 07:54:22 UTC 2021 - pgajdos@suse.com diff --git a/python-click-spinner.spec b/python-click-spinner.spec index 93f4881..c5ed623 100644 --- a/python-click-spinner.spec +++ b/python-click-spinner.spec @@ -1,7 +1,7 @@ # # spec file for package python-click-spinner # -# 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 @@ -26,6 +26,8 @@ Summary: Spinner for Click URL: https://github.com/click-contrib/click-spinner Group: Development/Languages/Python Source: https://github.com/click-contrib/click-spinner/archive/v%{version}.tar.gz#/click-spinner-%{version}.tar.gz +# https://github.com/click-contrib/click-spinner +Patch0: python-click-spinner-remove-six.patch BuildRequires: %{python_module click} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} @@ -41,7 +43,7 @@ BuildArch: noarch Spinner for Click. %prep -%setup -q -n click-spinner-%{version} +%autosetup -p1 -n click-spinner-%{version} %build export LANG=en_US.UTF-8