]> git.pld-linux.org Git - packages/pylint.git/blobdiff - pylint.spec
- verbose files/package pylint-gui(1) man in proper package
[packages/pylint.git] / pylint.spec
index c56f203a75ccfca54de2c663f4be84020faa77f4..919823f643085637ddeb19b714aa08178c8d6e56 100644 (file)
@@ -1,19 +1,24 @@
+# TODO:
+# - include examples in package
+#
 Summary:       Python tool that checks if a module satisfy a coding standard
 Summary(pl.UTF-8):     Pythonowe narzędzie sprawdzające zgodność modułu ze standardem kodowania
 Name:          pylint
-Version:       0.18.0
+Version:       0.25.1
 Release:       1
 License:       GPL
 Group:         Development/Languages/Python
 Source0:       ftp://ftp.logilab.fr/pub/pylint/%{name}-%{version}.tar.gz
-# Source0-md5: 2fb51eb37062aff094b104004ecd25a8
+# Source0-md5: 44270f052bd10c9ad735f509f79717f2
+Patch0:                %{name}-type_error.patch
 URL:           http://www.logilab.org/project/pylint
 BuildRequires: python-devel
 BuildRequires: python-modules >= 2.2.1
 BuildRequires: rpm-pythonprov
 BuildRequires: rpmbuild(macros) >= 1.219
 %pyrequires_eq python-modules
-Requires:      python-logilab-astng >= 0.17.0
+Requires:      python-logilab-astng >= 0.21.0
+Requires:      python-logilab-common >= 0.53.0
 Suggests:      python-devel-src
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -41,6 +46,8 @@ Oparty na bibliotece Tk graficzny interfejs użytkownika dla pylinta.
 %prep
 %setup -q
 
+%patch0 -p1
+
 %build
 python setup.py build
 
@@ -62,15 +69,20 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc ChangeLog TODO README examples/* doc/*.txt
+%doc ChangeLog README examples/* doc/*.txt
 %attr(755,root,root) %{_bindir}/epylint
 %attr(755,root,root) %{_bindir}/pylint
 %attr(755,root,root) %{_bindir}/pyreverse
 %attr(755,root,root) %{_bindir}/symilar
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/pylintrc
-%{py_sitescriptdir}/*
-%{_mandir}/man1/*
+%{py_sitescriptdir}/pylint
+%{py_sitescriptdir}/pylint-%{version}-py*.egg-info
+%{_mandir}/man1/epylint.1*
+%{_mandir}/man1/pylint.1*
+%{_mandir}/man1/pyreverse.1*
+%{_mandir}/man1/symilar.1*
 
 %files gui
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/pylint-gui
+%{_mandir}/man1/pylint-gui.1*
This page took 0.077927 seconds and 4 git commands to generate.