[atomic] remove pylint for rhel/centos

Lokesh Mandvekar lsm5 at fedoraproject.org
Fri Feb 27 20:11:43 UTC 2015


commit 4db7d4089350a25955b3ade14551b9accbfccb88
Author: Lokesh Mandvekar <lsm5 at fedoraproject.org>
Date:   Fri Feb 27 14:11:38 2015 -0600

    remove pylint for rhel/centos
    
    Signed-off-by: Lokesh Mandvekar <lsm5 at fedoraproject.org>

 atomic.spec | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)
---
diff --git a/atomic.spec b/atomic.spec
index faabeea..4fd4d2d 100644
--- a/atomic.spec
+++ b/atomic.spec
@@ -5,7 +5,7 @@
 
 Name:       atomic
 Version:    0
-Release:    0.6.git%{shortcommit}%{?dist}
+Release:    0.7.git%{shortcommit}%{?dist}
 Summary:    Tool for managing ProjectAtomic systems and containers
 License:    LGPLv2+
 URL:        https://github.com/projectatomic/atomic
@@ -15,7 +15,6 @@ BuildRequires:  python2-devel
 BuildRequires:  python-setuptools
 BuildRequires:  python-tools
 BuildRequires:  python-requests
-BuildRequires:  pylint
 BuildRequires:  go-md2man
 BuildRequires:  docker
 Requires:   docker
@@ -23,6 +22,9 @@ Requires:   python-requests
 Requires:   python-docker-py
 Requires:   python-websocket-client >= 0.11.0
 Requires:   python-six >= 1.3.0
+%if 0%{?fedora}
+BuildRequires:  pylint
+%endif
 
 %description
 The goal of Atomic is to provide a high level, coherent entrypoint to the
@@ -37,6 +39,9 @@ management.
 
 %prep
 %setup -qn %{name}-%{commit}
+%if 0%{?rhel}
+sed -i '/pylint/d' Makefile
+%endif
 
 %build
 make all
@@ -56,6 +61,9 @@ make install DESTDIR=%{buildroot}
 %{_mandir}/man1/%{name}*
 
 %changelog
+* Tue Feb 24 2015 Lokesh Mandvekar <lsm5 at fedoraproject.org> - 0-0.7.gita7ff4cb
+- remove pylint for rhel/centos
+
 * Tue Feb 24 2015 Lokesh Mandvekar <lsm5 at fedoraproject.org> - 0-0.6.gita7ff4cb
 - runtime requirement: python-docker-py
 


More information about the scm-commits mailing list