rpms/pychecker/devel pychecker.spec,1.27,1.28

vcrhonek vcrhonek at fedoraproject.org
Mon Jun 15 14:21:57 UTC 2009


Author: vcrhonek

Update of /cvs/extras/rpms/pychecker/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv673

Modified Files:
	pychecker.spec 
Log Message:
Merge Review


Index: pychecker.spec
===================================================================
RCS file: /cvs/extras/rpms/pychecker/devel/pychecker.spec,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -p -r1.27 -r1.28
--- pychecker.spec	26 Feb 2009 19:48:54 -0000	1.27
+++ pychecker.spec	15 Jun 2009 14:21:25 -0000	1.28
@@ -1,17 +1,16 @@
 %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
 
-Summary:  A python source code checking tool.
+Summary:  A python source code checking tool
 Name: pychecker
 Version: 0.8.17
-Release: 8%{?dist}
+Release: 9%{?dist}
 URL: http://pychecker.sourceforge.net
 Source0: http://dl.sourceforge.net/pychecker/pychecker-%{version}.tar.gz
 Patch0: pychecker-0.8.17-root.patch
 Patch1: pychecker-0.8.17-spe.patch
 License: BSD
 Group: Development/Tools
-Requires: python
-BuildRequires: python python-devel
+BuildRequires: python-devel
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch: noarch
 
@@ -25,8 +24,21 @@ a compiler.
 %patch0 -p1 -b .root
 %patch1 -p1 -b .spe
 
+# remove the shebang from non-executable scripts
+for i in Stack OP warn printer CodeChecks Warning msgs utils Config checker function python; do
+  sed -e '1d' < "pychecker/${i}.py" > "pychecker/${i}.py_" && \
+  touch -r "pychecker/${i}.py" "pychecker/${i}.py_" && \
+  mv "pychecker/${i}.py_" "pychecker/${i}.py"
+done
+
+# fix encoding
+iconv -f iso-8859-1 -t utf-8 MAINTAINERS > MAINTAINERS_ && \
+touch -r MAINTAINERS MAINTAINERS_ && \
+mv MAINTAINERS_ MAINTAINERS
+
+
 %build
-CFLAGS="$RPM_OPT_FLAGS" python setup.py build
+python setup.py build
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -36,7 +48,7 @@ python setup.py install --root=$RPM_BUIL
 rm -rf $RPM_BUILD_ROOT
 
 %files
-%defattr(-,root,root)
+%defattr(-,root,root,-)
 %doc CHANGELOG COPYRIGHT KNOWN_BUGS MAINTAINERS README TODO
 %{_bindir}/pychecker
 %{python_sitelib}/pychecker
@@ -54,6 +66,10 @@ rm -rf $RPM_BUILD_ROOT
 %exclude %{python_sitelib}/pychecker/VERSION
 
 %changelog
+* Mon Jun 15 2009 Vitezslav Crhonek <vcrhonek at redhat.com> - 0.8.17-9
+- Merge Review
+  Resolves: #226330
+
 * Thu Feb 26 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.8.17-8
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
 
@@ -142,70 +158,70 @@ rm -rf $RPM_BUILD_ROOT
 * Fri Jun 21 2002 Tim Powers <timp at redhat.com>
 - automated rebuild
 
-* Thu Jun  6 2002 Trond Eivind Glomsrød <teg at redhat.com> 0.8.11-1
+* Thu Jun  6 2002 Trond Eivind Glomsrød <teg at redhat.com> 0.8.11-1
 - 0.8.11
 
 * Thu May 23 2002 Tim Powers <timp at redhat.com>
 - automated rebuild
 
-* Thu Mar 21 2002 Trond Eivind Glomsrød <teg at redhat.com> 0.8.10-1
+* Thu Mar 21 2002 Trond Eivind Glomsrød <teg at redhat.com> 0.8.10-1
 - 0.8.10, bugfix release
 
-* Tue Feb 26 2002 Trond Eivind Glomsrød <teg at redhat.com> 0.8.9-2
+* Tue Feb 26 2002 Trond Eivind Glomsrød <teg at redhat.com> 0.8.9-2
 - Rebuild
 
-* Mon Feb  4 2002 Trond Eivind Glomsrød <teg at redhat.com> 0.8.9-1
+* Mon Feb  4 2002 Trond Eivind Glomsrød <teg at redhat.com> 0.8.9-1
 - 0.8.9
 
-* Mon Jan 14 2002 Trond Eivind Glomsrød <teg at redhat.com> 0.8.8-1
+* Mon Jan 14 2002 Trond Eivind Glomsrød <teg at redhat.com> 0.8.8-1
 - 0.8.8
 
 * Wed Jan 09 2002 Tim Powers <timp at redhat.com>
 - automated rebuild
 
-* Sun Jan  6 2002 Trond Eivind Glomsrød <teg at redhat.com> 0.8.7-1
+* Sun Jan  6 2002 Trond Eivind Glomsrød <teg at redhat.com> 0.8.7-1
 - 0.8.7
 - Include optimized bytecode
 - Use the pychecker script from pychecker package
 
-* Fri Nov 16 2001 Trond Eivind Glomsrød <teg at redhat.com> 0.8.6-1
+* Fri Nov 16 2001 Trond Eivind Glomsrød <teg at redhat.com> 0.8.6-1
 - 0.8.6
 
-* Wed Oct 17 2001 Trond Eivind Glomsrød <teg at redhat.com> 0.8.5-1
+* Wed Oct 17 2001 Trond Eivind Glomsrød <teg at redhat.com> 0.8.5-1
 - 0.8.5
 
-* Mon Sep 24 2001 Trond Eivind Glomsrød <teg at redhat.com> 0.8.4-1
+* Mon Sep 24 2001 Trond Eivind Glomsrød <teg at redhat.com> 0.8.4-1
 - 0.8.4
 
-* Sat Sep 15 2001 Trond Eivind Glomsrød <teg at redhat.com> 0.8.3-1
+* Sat Sep 15 2001 Trond Eivind Glomsrød <teg at redhat.com> 0.8.3-1
 - 0.8.3
 - build for python 2.2
 
-* Sun Jul 22 2001 Trond Eivind Glomsrød <teg at redhat.com>
+* Sun Jul 22 2001 Trond Eivind Glomsrød <teg at redhat.com>
 - 0.7.5
 
-* Fri Jul 20 2001 Trond Eivind Glomsrød <teg at redhat.com>
+* Fri Jul 20 2001 Trond Eivind Glomsrød <teg at redhat.com>
 - Add pyhon-devel to buildrequires (#49567)
 
-* Thu Jul 19 2001 Trond Eivind Glomsrød <teg at redhat.com>
+* Thu Jul 19 2001 Trond Eivind Glomsrød <teg at redhat.com>
 - 0.7
 
 * Thu Jul  5 2001 Matt Wilson <msw at redhat.com>
 - removed glob from /usr/bin/*, changed it to /usr/bin/pychecker, as that is the
   only file not listed in installed_files
 
-* Thu Jul  5 2001 Trond Eivind Glomsrød <teg at redhat.com>
+* Thu Jul  5 2001 Trond Eivind Glomsrød <teg at redhat.com>
 - rebuild
 
-* Mon Jul  2 2001 Trond Eivind Glomsrød <teg at redhat.com>
+* Mon Jul  2 2001 Trond Eivind Glomsrød <teg at redhat.com>
 - 0.6.1
 
-* Wed May 30 2001 Trond Eivind Glomsrød <teg at redhat.com>
+* Wed May 30 2001 Trond Eivind Glomsrød <teg at redhat.com>
 - 0.5
 - change the file location in the pychecker wrapper
 - Use distutils to build and install
 
-* Tue Apr 24 2001 Trond Eivind Glomsrød <teg at redhat.com>
+* Tue Apr 24 2001 Trond Eivind Glomsrød <teg at redhat.com>
 - Initial build.
 
 




More information about the fedora-extras-commits mailing list