From f6073afbcb045433d5abe238e9103778a01014c0091524741c4b8308f47251f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20S=C3=BAkup?= Date: Mon, 31 Dec 2018 18:08:04 +0000 Subject: [PATCH] Accepting request 662194 from devel:languages:python:avocado - Correct conditional for older distros - Update filelist to work on SLE-12 OBS-URL: https://build.opensuse.org/request/show/662194 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-astroid?expand=0&rev=36 --- python-astroid.changes | 6 ++++++ python-astroid.spec | 8 ++++---- 2 files changed, 10 insertions(+), 4 deletions(-) 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