diff --git a/python-cmd2.spec b/python-cmd2.spec index ec5199f..e0b5944 100644 --- a/python-cmd2.spec +++ b/python-cmd2.spec @@ -39,6 +39,9 @@ BuildRequires: %{python_module pyperclip >= 1.5.27} BuildRequires: %{python_module pytest-mock} BuildRequires: %{python_module pytest} BuildRequires: %{python_module wcwidth} +%if 0%{?sle_version} < 150000 && 0%{?is_opensuse} +BuildRequires: %{python_module typing} +%endif # /SECTION Requires: python-attrs Requires: python-colorama @@ -69,7 +72,7 @@ Drop-in replacement adds several features for command-prompt tools: %prep %setup -q -n cmd2-%{version} -%if 0%{?sle_version} == 150000 && 0%{?is_opensuse} +%if 0%{?sle_version} < 150000 && 0%{?is_opensuse} %patch0 -p1 %endif # Fix non-executable-script