diff --git a/python-cmd2.changes b/python-cmd2.changes index d81f853..261ece6 100644 --- a/python-cmd2.changes +++ b/python-cmd2.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Apr 9 07:34:57 UTC 2019 - Thomas Bechtold + +- Fix Requires for older python3 versions + ------------------------------------------------------------------- Fri Mar 15 10:31:09 UTC 2019 - Tomáš Chvátal diff --git a/python-cmd2.spec b/python-cmd2.spec index d94aa8d..c5f7dbe 100644 --- a/python-cmd2.spec +++ b/python-cmd2.spec @@ -35,6 +35,10 @@ Requires: python-attrs Requires: python-colorama Requires: python-pyperclip >= 1.5.27 Requires: python-wcwidth +%if %python3_version_nodots < 35 +Requires: python-contextlib2 +Requires: python-typing +%endif BuildArch: noarch # SECTION Test requirements BuildRequires: %{python_module attrs}