From 4db7d4089350a25955b3ade14551b9accbfccb88 Mon Sep 17 00:00:00 2001 From: Lokesh Mandvekar Date: Feb 27 2015 20:11:38 +0000 Subject: remove pylint for rhel/centos Signed-off-by: Lokesh Mandvekar --- 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 - 0-0.7.gita7ff4cb +- remove pylint for rhel/centos + * Tue Feb 24 2015 Lokesh Mandvekar - 0-0.6.gita7ff4cb - runtime requirement: python-docker-py