diff --git a/python-astroid.changes b/python-astroid.changes index 3bc4b6e..5f6ca9e 100644 --- a/python-astroid.changes +++ b/python-astroid.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Dec 31 08:59:36 UTC 2018 - Martin Pluskal + +- Correct conditional for older distros +- Update filelist to work on SLE-12 + ------------------------------------------------------------------- Thu Dec 6 14:39:34 UTC 2018 - Tomáš Chvátal diff --git a/python-astroid.spec b/python-astroid.spec index e813511..21d5c7b 100644 --- a/python-astroid.spec +++ b/python-astroid.spec @@ -16,8 +16,8 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 +%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-astroid Version: 2.1.0 Release: 0 @@ -39,7 +39,7 @@ Requires: python-lazy-object-proxy Requires: python-six Requires: python-wrapt BuildArch: noarch -%if %{python3_version_nodots} < 35 +%if 0%{?suse_version} < 1500 BuildRequires: %{python_module typing} Requires: python-typing %endif @@ -78,7 +78,7 @@ cp %{SOURCE1} . %files %{python_files} %license COPYING COPYING.LESSER %doc ChangeLog README.rst -%{python_sitelib}/astroid/ -%{python_sitelib}/astroid-*.egg-info +%{python3_sitelib}/astroid/ +%{python3_sitelib}/astroid-*.egg-info %changelog