14
0
forked from pool/python-pylint
Tomáš Chvátal
2019-01-02 13:20:31 +00:00
committed by Git OBS Bridge
parent b54ff2f4b0
commit 8081fdc826
2 changed files with 10 additions and 2 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Jan 2 13:20:08 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Fix build on SLE12
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Dec 6 14:37:20 UTC 2018 - Tomáš Chvátal <tchvatal@suse.com> Thu Dec 6 14:37:20 UTC 2018 - Tomáš Chvátal <tchvatal@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-pylint # spec file for package python-pylint
# #
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -16,7 +16,7 @@
# #
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python3-%{**}}
%define skip_python2 1 %define skip_python2 1
Name: python-pylint Name: python-pylint
Version: 2.2.2 Version: 2.2.2
@@ -45,7 +45,9 @@ Requires(post): update-alternatives
Requires(postun): update-alternatives Requires(postun): update-alternatives
BuildArch: noarch BuildArch: noarch
# test is checking that "tkinter.tix" is deprecated # test is checking that "tkinter.tix" is deprecated
%if 0%{?suse_version} >= 1500
BuildRequires: python3-tk BuildRequires: python3-tk
%endif
%python_subpackages %python_subpackages
%description %description
@@ -86,6 +88,7 @@ done
%python_uninstall_alternative pylint %python_uninstall_alternative pylint
%check %check
export PYTHONDONTWRITEBYTECODE=1
%python_expand PYTHONPATH="%{buildroot}%{$python_sitelib}" py.test-%{$python_bin_suffix} pylint/test/ %python_expand PYTHONPATH="%{buildroot}%{$python_sitelib}" py.test-%{$python_bin_suffix} pylint/test/
%files %{python_files} %files %{python_files}