From e90f55c9de99f842b927a0ede9ddf7eeace043b3c74a5073e65ac7cafd6c9517 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Mon, 3 Dec 2018 11:42:49 +0000 Subject: [PATCH] Add also BR OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cmd2?expand=0&rev=38 --- python-cmd2.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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