diff --git a/python-cmd2.changes b/python-cmd2.changes index 261ece6..6fdb9a3 100644 --- a/python-cmd2.changes +++ b/python-cmd2.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Apr 15 06:38:20 UTC 2019 - Dirk Mueller + +- fix build for SLE12 and older + ------------------------------------------------------------------- Tue Apr 9 07:34:57 UTC 2019 - Thomas Bechtold diff --git a/python-cmd2.spec b/python-cmd2.spec index c5f7dbe..98af374 100644 --- a/python-cmd2.spec +++ b/python-cmd2.spec @@ -50,7 +50,7 @@ BuildRequires: %{python_module pytest} BuildRequires: %{python_module wcwidth} # Required by tests. BuildRequires: vim -%if 0%{?sle_version} < 150000 && 0%{?is_opensuse} +%if 0%{?suse_version} < 130200 BuildRequires: %{python_module contextlib2} BuildRequires: %{python_module typing} %endif @@ -96,6 +96,6 @@ chmod a-x README.md %files %{python_files} %license LICENSE %doc CHANGELOG.md CODEOWNERS README.md -%{python_sitelib}/* +%{python3_sitelib}/* %changelog