diff --git a/0001-Remove-module-that-wasn-t-actually-moved.-Close-1565.patch b/0001-Remove-module-that-wasn-t-actually-moved.-Close-1565.patch new file mode 100644 index 0000000..498ff59 --- /dev/null +++ b/0001-Remove-module-that-wasn-t-actually-moved.-Close-1565.patch @@ -0,0 +1,25 @@ +From 2e50e9ee1806bb019c3cdc79bfe594a923fa483d Mon Sep 17 00:00:00 2001 +From: Claudiu Popa +Date: Sat, 8 Jul 2017 11:46:39 +0300 +Subject: [PATCH 1/2] Remove module that wasn't actually moved. Close #1565 + +--- + pylint/checkers/python3.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/pylint/checkers/python3.py b/pylint/checkers/python3.py +index f70aa28..f38e6f4 100644 +--- a/pylint/checkers/python3.py ++++ b/pylint/checkers/python3.py +@@ -500,7 +500,7 @@ class Python3Checker(checkers.BaseChecker): + 'dircache', 'dl', 'exception', 'fpformat', 'htmllib', 'ihooks', 'imageop', 'imputil', + 'linuxaudiodev', 'md5', 'mhlib', 'mimetools', 'MimeWriter', 'mimify', 'multifile', + 'mutex', 'new', 'popen2', 'posixfile', 'pure', 'rexec', 'rfc822', 'sha', 'sgmllib', +- 'sre', 'stat', 'stringold', 'sunaudio', 'sv', 'test.testall', 'thread', 'timing', ++ 'sre', 'stringold', 'sunaudio', 'sv', 'test.testall', 'thread', 'timing', + 'toaiff', 'user', 'urllib2', 'urlparse' + ]), + 'deprecated-string-function': { +-- +2.9.5 + diff --git a/pylint.spec b/pylint.spec index 8c554d9..e8a94b3 100644 --- a/pylint.spec +++ b/pylint.spec @@ -2,13 +2,16 @@ Name: pylint Version: 1.7.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Analyzes Python code looking for bugs and signs of poor quality Group: Development/Debuggers License: GPLv2+ URL: http://www.pylint.org/ Source0: https://github.com/PyCQA/pylint/archive/pylint-%{version}.tar.gz +# Fix for rhbz#1483869 +Patch0: 0001-Remove-module-that-wasn-t-actually-moved.-Close-1565.patch + BuildArch: noarch BuildRequires: python2-devel BuildRequires: python-setuptools @@ -98,6 +101,7 @@ Additionally, it is possible to write plugins to add your own checks. %prep %setup -q -n pylint-pylint-%{version} +%patch0 -p1 %build %py2_build @@ -190,6 +194,9 @@ export PYTHONPATH=%{buildroot}%{python3_sitelib} %endif # with_python3 %changelog +* Thu Aug 31 2017 Brian C. Lane - 1.7.2-2 +- Remove module that wasn't actually moved. (#1483869) + * Wed Aug 02 2017 Gwyn Ciesla - 1.7.2-1 - 1.7.2.