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
This commit is contained in:
Ondřej Súkup 2018-12-31 18:08:04 +00:00 committed by Git OBS Bridge
parent 20d170daa7
commit f6073afbcb
2 changed files with 10 additions and 4 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Dec 31 08:59:36 UTC 2018 - Martin Pluskal <mpluskal@suse.com>
- Correct conditional for older distros
- Update filelist to work on SLE-12
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Dec 6 14:39:34 UTC 2018 - Tomáš Chvátal <tchvatal@suse.com> Thu Dec 6 14:39:34 UTC 2018 - Tomáš Chvátal <tchvatal@suse.com>

View File

@ -16,8 +16,8 @@
# #
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1 %define skip_python2 1
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-astroid Name: python-astroid
Version: 2.1.0 Version: 2.1.0
Release: 0 Release: 0
@ -39,7 +39,7 @@ Requires: python-lazy-object-proxy
Requires: python-six Requires: python-six
Requires: python-wrapt Requires: python-wrapt
BuildArch: noarch BuildArch: noarch
%if %{python3_version_nodots} < 35 %if 0%{?suse_version} < 1500
BuildRequires: %{python_module typing} BuildRequires: %{python_module typing}
Requires: python-typing Requires: python-typing
%endif %endif
@ -78,7 +78,7 @@ cp %{SOURCE1} .
%files %{python_files} %files %{python_files}
%license COPYING COPYING.LESSER %license COPYING COPYING.LESSER
%doc ChangeLog README.rst %doc ChangeLog README.rst
%{python_sitelib}/astroid/ %{python3_sitelib}/astroid/
%{python_sitelib}/astroid-*.egg-info %{python3_sitelib}/astroid-*.egg-info
%changelog %changelog