[spacewalk-pylint/f21] Update spacewalk-pylint to 2.2.10-1

Miroslav Suchý msuchy at fedoraproject.org
Fri Jul 18 12:27:19 UTC 2014


commit b1c897aafd72b4ede20bf8829cf2840647c06a23
Author: Miroslav Suchý <msuchy at redhat.com>
Date:   Fri Jul 18 14:27:41 2014 +0200

    Update spacewalk-pylint to 2.2.10-1

 .gitignore            |    1 +
 sources               |    2 +-
 spacewalk-pylint.spec |   54 +++++++++++++++++++++++++++++++++++++++++-------
 3 files changed, 48 insertions(+), 9 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 09a2ad4..b0ae8c8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@
 /spacewalk-pylint-0.8.tar.gz
 /spacewalk-pylint-0.11.tar.gz
 /spacewalk-pylint-0.12.tar.gz
+/spacewalk-pylint-2.2.10.tar.gz
diff --git a/sources b/sources
index d279dce..7d997ac 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-47d350d73fb2dc5143d8d34add2e72fb  spacewalk-pylint-0.12.tar.gz
+870b5e796870ee04d2642dad242e6bfe  spacewalk-pylint-2.2.10.tar.gz
diff --git a/spacewalk-pylint.spec b/spacewalk-pylint.spec
index a4ed7d1..f227f7a 100644
--- a/spacewalk-pylint.spec
+++ b/spacewalk-pylint.spec
@@ -1,6 +1,6 @@
 Name:		spacewalk-pylint
-Version:	0.12
-Release:	2%{?dist}
+Version:	2.2.10
+Release:	1%{?dist}
 Summary:	Pylint configuration for spacewalk python packages
 
 Group:		Development/Debuggers
@@ -10,11 +10,15 @@ Source0:	https://fedorahosted.org/releases/s/p/spacewalk/%{name}-%{version}.tar.
 BuildRoot:	%(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
 BuildArch:	noarch
 
-%if 0%{?fedora} >= 19
+%if 0%{?fedora}
+Requires:	pylint > 1.1
+%else
+%if 0%{?rhel} > 6
 Requires:	pylint > 1.0
 %else
 Requires:	pylint < 1.0
 %endif
+%endif
 BuildRequires:	asciidoc
 BuildRequires:	libxslt
 %if 0%{?rhel} && 0%{?rhel} < 6
@@ -38,9 +42,14 @@ install -d -m 755 %{buildroot}/%{_bindir}
 install -p -m 755 spacewalk-pylint %{buildroot}/%{_bindir}/
 install -d -m 755 %{buildroot}/%{_sysconfdir}
 install -p -m 644 spacewalk-pylint.rc %{buildroot}/%{_sysconfdir}/
-%if 0%{?fedora} < 19
-# old pylint don't understand new checks
-sed -i '/disable=/ s/\(,C1001\|,W0121\)//g;' \
+%if 0%{?rhel}
+# new checks in pylint 1.1
+sed -i '/disable=/ s/,bad-whitespace,unpacking-non-sequence,superfluous-parens//g;' \
+        %{buildroot}%{_sysconfdir}/spacewalk-pylint.rc
+%endif
+%if 0%{?rhel} && 0%{?rhel} < 7
+# new checks in pylint 1.0
+sed -i '/disable=/ s/,C1001,W0121,useless-else-on-loop//g;' \
         %{buildroot}%{_sysconfdir}/spacewalk-pylint.rc
 %endif
 mkdir -p %{buildroot}/%{_mandir}/man8
@@ -58,8 +67,37 @@ rm -rf %{buildroot}
 %doc LICENSE
 
 %changelog
-* Sun Jun 08 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.12-2
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
+* Mon Jun 30 2014 Michael Mraka <michael.mraka at redhat.com> 2.2.10-1
+- disable useless-else-on-loop also in pylint 1.0
+
+* Fri Jun 27 2014 Michael Mraka <michael.mraka at redhat.com> 2.2.9-1
+- fixed  Invalid class attribute name
+- fixed Else clause on loop without a break statement
+
+* Fri Jun 27 2014 Michael Mraka <michael.mraka at redhat.com> 2.2.8-1
+- silenced Abstract class is only referenced 1 times
+- fixed Invalid name
+
+* Thu Jun 26 2014 Michael Mraka <michael.mraka at redhat.com> 2.2.7-1
+- fix condition for Fedora
+
+* Mon Jun 23 2014 Michael Mraka <michael.mraka at redhat.com> 2.2.6-1
+- fixed pylint version for RHEL7
+
+* Fri May 23 2014 Milan Zazrivec <mzazrivec at redhat.com> 2.2.5-1
+- spec file polish
+
+* Wed Apr 02 2014 Michael Mraka <michael.mraka at redhat.com> 2.2.4-1
+- pylint in Fedora 19 has been updated to 1.1
+
+* Thu Mar 27 2014 Michael Mraka <michael.mraka at redhat.com> 2.2.3-1
+- don't report optional parens as error
+
+* Mon Mar 24 2014 Michael Mraka <michael.mraka at redhat.com> 2.2.2-1
+- pylint 1.1 landed in Fedora 20 updates
+
+* Wed Mar 05 2014 Michael Mraka <michael.mraka at redhat.com> 2.2.1-1
+- disable pylint 1.1 checks we don't enforce
 
 * Mon Sep 30 2013 Michael Mraka <michael.mraka at redhat.com> 0.12-1
 - ignore old-style-* pylint warnings for pylint-1.0


More information about the scm-commits mailing list