From baeb5efa399936df6edff532ea3e9bc6237fd5e8 Mon Sep 17 00:00:00 2001 From: wrobell Date: Mon, 1 Sep 2003 14:27:18 +0000 Subject: [PATCH] - - Changed files: pylint.spec -> 1.1 --- pylint.spec | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 pylint.spec diff --git a/pylint.spec b/pylint.spec new file mode 100644 index 0000000..f2ce9a0 --- /dev/null +++ b/pylint.spec @@ -0,0 +1,41 @@ + +%include /usr/lib/rpm/macros.python + +Summary: Python tool that checks if a module satisfy a coding standard +Name: pylint +Version: 0.1.2 +Release: 0.1 +License: GPL +Group: Development/Languages/Python +Source0: ftp://ftp.logilab.fr/pub/%{name}/%{name}-%{version}.tar.gz +# Source0-md5: ac8e90069fefa7fb35b003507856cf34 +URL: http://www.logilab.org/projects/%{name}/view +BuildRequires: python-modules >= 2.2.1 +BuildRequires: rpm-pythonprov +Requires: python-logilab-common +BuildArch: noarch +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +Python tool that checks if a module satisfy a coding standard. + +%prep +%setup -q + +%build +python setup.py build + +%install +rm -rf $RPM_BUILD_ROOT + +python setup.py install --optimize=2 --root=$RPM_BUILD_ROOT +find $RPM_BUILD_ROOT%{py_sitedir} -name \*.py -exec rm -f {} \; + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc ChangeLog TODO +%attr(755,root,root) %{_bindir}/* +%{py_sitedir}/* -- 2.44.0