source: projects/specs/branches/6/p/python27/python27-vl.spec @ 3286

Revision 3286, 33.8 KB checked in by owa, 13 years ago (diff)

new: python27

Line 
1# if you wanna test, add " --define '_run_test 1' " option to rpmbuild command
2%define run_test %{?_run_test:1}%{!?_run_test:0}
3%define unicode ucs4
4%define bsddb_ver 4.8
5%define tcl_major 8.4
6%define tk_major 8.4
7%define tix_major 8.4
8%define pybasever 2.7
9%define python_lib %{_libdir}/python%{pybasever}
10
11Summary: An interpreted, interactive, object-oriented programming language.
12Summary(ja): オブジェクト指向言語 Python インタプリタ
13Name: python27
14Version: %{pybasever}.1
15Release: 1%{?_dist_release}
16License: PSF - see LICENSE
17Group: Development/Languages
18URL: http://www.python.org/%{pybasever}/
19Source0: http://www.python.org/ftp/python/%{version}/Python-%{version}.tar.bz2
20Source1: http://docs.python.org/archives/python-%{version}-docs-html.tar.bz2
21Source6: shmmodule.c
22Patch0: python-2.7.1-Setup.dist.patch
23Patch3: python-2.2.1-pydocnogui.patch
24Patch4: python-2.3.3-distutilrpm.patch
25Patch10: python-2.6-db48.patch
26Patch11: http://bugs.python.org/file16549/python-support_bdb-4.8-v2.patch
27
28## from fedora-14
29Patch20: make-pydoc-more-robust-001.patch
30Patch21: python-2.3.4-lib64-regex.patch
31Patch22: python-2.5-cflags.patch
32Patch23: python-2.5.1-plural-fix.patch
33Patch24: python-2.5.1-sqlite-encoding.patch
34Patch25: python-2.6-rpath.patch
35Patch26: python-2.6.4-distutils-rpath.patch
36Patch27: python-2.6.4-setup-db48.patch
37Patch28: python-2.6.5-fix-expat-issue9054.patch
38Patch29: python-2.6.5-more-configuration-flags.patch
39Patch30: python-2.7-autotool-intermediates.patch
40Patch31: python-2.7rc1-binutils-no-dep.patch
41Patch32: python-2.7rc1-codec-ascii-tolower.patch
42Patch33: python-2.7rc1-ctypes-noexecmem.patch
43Patch34: python-2.7rc1-debug-build.patch
44Patch35: python-2.7rc1-dtrace.patch
45Patch36: python-2.7rc1-no-static-lib.patch
46Patch37: python-2.7rc1-socketmodule-constants.patch
47Patch38: python-2.7rc1-socketmodule-constants2.patch
48Patch39: python-2.7rc1-statvfs-f_flag-constants.patch
49Patch40: python-2.7rc2-r79310.patch
50
51## from mandriva
52Patch50: Python-2.7-CVE-2010-3493.diff
53Patch51: Python-2.7-CVE-2010-3492.diff
54Patch52: python-2.5.2-fix_UTF-8_name.patch
55Patch53: python-2.7-module-linkage.patch
56
57## for lib64
58Patch100: python-2.7-lib64-Makefile.patch
59Patch101: python-2.7-lib64-setup.patch
60Patch102: python-2.7-lib64-getpath.patch
61Patch103: python-2.7-lib64-site.patch
62Patch104: python-2.7-lib64-install.patch
63Patch105: python-2.7-lib64-sysconfig.patch
64Patch106: python-2.7-lib64-distutils_sysconfig.patch
65Patch107: python-2.7-lib64-test_install.patch
66Patch108: python-2.7.1-lib64-test_site.patch
67
68Conflicts: python = 2.7
69Obsoletes: python2
70Obsoletes: Distutils
71Obsoletes: python-base
72Provides: Distutils
73
74BuildRequires: db4-devel >= 4.8
75BuildRequires: readline-devel, libtermcap-devel, openssl-devel, gmp-devel
76BuildRequires: ncurses-devel, gdbm-devel, zlib-devel, expat-devel
77BuildRequires: tk tix gcc-c++ glibc-devel
78BuildRequires: xorg-x11-devel mesa-libGL-devel
79BuildRequires: gzip tar /usr/bin/find pkgconfig bzip2-devel
80BuildRequires: nkf
81BuildRequires: libffi-devel
82BuildRoot: %{_tmppath}/%{name}-%{version}-root
83Vendor: Project Vine
84Distribution: Vine Linux
85
86
87%description
88Python is an interpreted, interactive, object-oriented programming
89language often compared to Tcl, Perl, Scheme or Java. Python includes
90modules, classes, exceptions, very high level dynamic data types and
91dynamic typing. Python supports interfaces to many system calls and
92libraries, as well as to various windowing systems (X11, Motif, Tk,
93Mac and MFC).
94
95Programmers can write new built-in modules for Python in C or C++.
96Python can be used as an extension language for applications that need
97a programmable interface. This package contains most of the standard
98Python modules, as well as modules for interfacing to the Tix widget
99set for Tk and RPM.
100
101Note that documentation for Python is provided in the python-docs
102package.
103
104%package devel
105Summary: The libraries and header files needed for Python development.
106Summary(ja): Python での開発に必要なライブラリやヘッダファイル
107Group: Development/Libraries
108Obsoletes: python2-devel
109
110%description devel
111The Python programming language's interpreter can be extended with
112dynamically loaded extensions and can be embedded in other programs.
113This package contains the header files and libraries needed to do
114these types of tasks.
115
116Install python-devel if you want to develop Python extensions.  The
117python package will also need to be installed.  You'll probably also
118want to install the python-docs package, which contains Python
119documentation.
120
121%package tools
122Summary: A collection of development tools included with Python.
123Summary(ja): Python に含まれる開発ツール一式
124Group: Development/Tools
125Requires: %{name} = %{version}
126Requires: %{name}-tkinter = %{version}
127Obsoletes: python2-tools
128
129%description tools
130The Python package includes several development tools that are used
131to build python programs.
132
133%package docs
134Summary: Documentation for the Python programming language.
135Summary(ja): Python プログラミング言語のドキュメント
136Group: Applications/Documentation
137Obsoletes: python2-docs
138
139%description docs
140The python-docs package contains documentation on the Python
141programming language and interpreter.  The documentation is provided
142in ASCII text files and in LaTeX source files.
143
144Install the python-docs package if you'd like to use the documentation
145for the Python language.
146
147%package tkinter
148Summary: A graphical user interface for the Python scripting language.
149Summary(ja): Python スクリプト言語のグラフィカルインターフェイス
150Group: Development/Languages
151Obsoletes: tkinter2
152BuildRequires: tcl, tk
153Requires: %{name} = %{version}
154Requires: tix
155
156%description tkinter
157The Tkinter (Tk interface) program is an graphical user interface for
158the Python scripting language.
159
160You should install the tkinter package if you'd like to use a graphical
161user interface for Python programming.
162
163
164%prep
165%setup -q -n Python-%{version} -a 1
166%patch0 -p1 -b .Setup
167%patch3 -p1 -b .no_gui
168%patch4 -p1 -b .distutilrpm
169
170## for bsddb-4.8
171#%patch10 -p1 -b .db48
172#%patch11 -p0 -b .db48-v2
173
174## from fedora-14
175%patch20 -p0 -b .make-pydoc-more-robust-001
176%patch21 -p1 -b .lib64-regex
177%patch22 -p1 -b .cflags
178%patch23 -p1 -b .plural-fix
179%patch24 -p1 -b .sqlite-encoding
180%patch25 -p1 -b .rpath
181##%patch26 -p1 -b .distutils-rpath
182###%patch27 -p1 -b .setup-db48
183###%patch28 -p0 -b .fix-expat-issue9054
184%patch29 -p1 -b .more-configuration-flags
185###%patch30 -p0 -b .autotool-intermediates
186%patch31 -p1 -b .binutils-no-dep
187%patch32 -p1 -b .codec-ascii-tolower
188##%patch33 -p1 -b .ctypes-noexecmem
189###%patch34 -p1 -b .debug-build
190###%patch35 -p1 -b .dtrace
191%patch36 -p1 -b .no-static-lib
192%patch37 -p1 -b .socketmodule-constants
193%patch38 -p1 -b .socketmodule-constants2
194%patch39 -p1 -b .statvfs-f_flag-constants
195%patch40 -p0 -R -b .r79310
196
197## from mandriva
198###%patch50 -p0 -b .CVE-2010-3493
199###%patch51 -p1 -b .CVE-2010-3492
200%patch52 -p1 -b .fix_UTF-8_name
201%patch53 -p0 -b .module-linkage.patch
202
203%if %{_lib} == lib64
204%patch100 -p1 -b .Makefile
205%patch101 -p1 -b .setup
206%patch102 -p1 -b .getpath
207%patch103 -p1 -b .site
208%patch104 -p1 -b .install
209%patch105 -p1 -b .sysconfig
210%patch106 -p1 -b .distutils_sysconfig
211%patch107 -p1 -b .test_install
212#%patch108 -p1 -b .test_site
213%endif
214
215## shm module
216cp %{SOURCE6} Modules
217cat >> Modules/Setup.dist << EOF
218
219## Shared memory module
220shm shmmodule.c
221EOF
222
223## Fix library flags
224pushd Modules
225mv Setup.dist Setup.dist.tmp
226cat Setup.dist.tmp \
227        | sed "s^-ldb-4.?^-ldb-%{bsddb_ver}^" \
228        | sed "s^-ltcl^-ltcl%{tcl_major}^" \
229        | sed "s^-ltk^-ltk%{tk_major}^" \
230        | sed "s^-ltix^-ltix%{tix_major}^" \
231        > Setup.dist
232rm -f Setup.dist.tmp
233popd
234
235##
236autoconf
237
238
239%build
240topdir=`pwd`
241export CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE -fPIC"
242export CXXFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE -fPIC"
243export OPT="$RPM_OPT_FLAGS -D_GNU_SOURCE -fPIC"
244export LINKCC="gcc"
245export CC=gcc
246if pkg-config openssl ; then
247        export CFLAGS="$CFLAGS $(pkg-config --cflags openssl)"
248        export LDFLAGS="$LDFLAGS $(pkg-config --libs-only-L openssl)"
249fi
250%configure \
251        --enable-ipv6 \
252        --enable-unicode=%{unicode} \
253        --enable-shared \
254        --with-system-ffi \
255        ;
256make OPT="$CFLAGS" %{?_smp_mflags}
257
258## rebuild with new python
259export LD_LIBRARY_PATH=$topdir
260export PATH="$topdir:$PATH"
261ln -s $topdir/python $topdir/python%{pybasever}
262#$topdir/python Tools/scripts/pathfix.py -i "/usr/bin/env python%{pybasever}" .
263make OPT="$CFLAGS" %{?_smp_mflags}
264
265
266%if %{run_test}
267#%%check
268# This runs the test set twice (once with no compiled files, once with
269# the compiled files left by the previous test run).
270find ./Lib -name '*.py[co]' -print | xargs rm -f
271LD_LIBRARY_PATH=$topdir:$topdir/Modules:$topdir/build/lib.linux-%{_host_cpu}-%{pybasever}
272PYTHONHOME=$topdir
273PYTHONPATH=$topdir/Lib:$topdir/Lib/test:$topdir/Lib/lib-tk:$topdir/Lib/site-packages
274PYTHONPATH=$PYTHONPATH:$LD_LIBRARY_PATH
275export PYTHONHOME PYTHONPATH LD_LIBRARY_PATH
276#SKIPLIST="-x test___all__ -x test_dl -x test_gdb -x test_pydoc"
277SKIPLIST=""
278./python -tt -E ./Lib/test/regrtest.py -l -w $SKIPLIST 2>&1 | tee make.check1.log
279./python -tt -E ./Lib/test/regrtest.py -l -w $SKIPLIST 2>&1 | tee make.check2.log
280#-------------------------------##
281# Sat Nov 27 2010 ...last tested
282# 344 tests OK.
283# 4 tests failed:
284#     test___all__ test_dl test_gdb test_pydoc
285# 36 tests skipped:
286# 2 skips unexpected on linux2:
287#-------------------------------##
288%endif
289
290
291%install
292rm -fr $RPM_BUILD_ROOT
293mkdir -p $RPM_BUILD_ROOT/usr $RPM_BUILD_ROOT%{_mandir}
294
295# Temporary workaround to avoid confusing find-requires: don't ship the tests
296# as executable files
297chmod 0644 Lib/test/test_*.py
298
299make DESTDIR=$RPM_BUILD_ROOT install
300
301install -d $RPM_BUILD_ROOT%{python_lib}/site-packages
302install -d $RPM_BUILD_ROOT%{python_lib}/config
303ln -s ../../libpython%{pybasever}.so $RPM_BUILD_ROOT%{python_lib}/config/libpython%{pybasever}.so
304%if %{_lib} == lib64
305install -d $RPM_BUILD_ROOT%{_prefix}/lib/python%{pybasever}/site-packages
306%endif
307
308# Fix the interpreter path in binaries installed by distutils
309# (which changes them by itself)
310# Make sure we preserve the file permissions
311for fixed in $RPM_BUILD_ROOT/usr/bin/pydoc; do
312    sed 's,#!.*/python$,#!/usr/bin/env python%{pybasever},' $fixed > $fixed- \
313        && cat $fixed- > $fixed && rm -f $fixed-
314done
315
316
317## tools
318echo "#!/bin/bash
319exec %{python_lib}/site-packages/pynche/pynche" \
320        > $RPM_BUILD_ROOT%{_bindir}/pynche%{pybasever}
321chmod 755 $RPM_BUILD_ROOT%{_bindir}/pynche%{pybasever}
322
323echo "#!/bin/bash
324exec %{python_lib}/site-packages/modulator/modulator.py" \
325        > $RPM_BUILD_ROOT%{_bindir}/modulator%{pybasever}
326chmod 755 $RPM_BUILD_ROOT%{_bindir}/modulator%{pybasever}
327
328## idle
329mkdir -p $RPM_BUILD_ROOT%{python_lib}/site-packages/idle
330install -m 755 ./Lib/idlelib/idle.py $RPM_BUILD_ROOT%{python_lib}/site-packages/idle
331install -m 755 $RPM_BUILD_ROOT%{_bindir}/idle $RPM_BUILD_ROOT%{_bindir}/idle%{pybasever}
332install -m 755 $RPM_BUILD_ROOT%{_bindir}/pydoc $RPM_BUILD_ROOT%{_bindir}/pydoc%{pybasever}
333install -m 755 $RPM_BUILD_ROOT%{_bindir}/smtpd.py $RPM_BUILD_ROOT%{_bindir}/smtpd%{pybasever}.py
334
335##pynche
336rm -f Tools/pynche/*.pyw
337cp -r Tools/pynche $RPM_BUILD_ROOT%{python_lib}/site-packages/
338
339##gettext
340install -m755  Tools/i18n/pygettext.py $RPM_BUILD_ROOT%{_bindir}/pygettext%{pybasever}.py
341install -m755  Tools/i18n/msgfmt.py $RPM_BUILD_ROOT%{_bindir}/msgfmt%{pybasever}.py
342
343## Get rid of crap
344find $RPM_BUILD_ROOT/ -name "*~"|xargs rm -f
345find $RPM_BUILD_ROOT/ -name ".cvsignore"|xargs rm -f
346find . -name "*~"|xargs rm -f
347find . -name ".cvsignore"|xargs rm -f
348
349##zero length
350rm -f $RPM_BUILD_ROOT%{python_lib}/site-packages/modulator/Templates/copyright
351
352## Clean up the testsuite - we don't need compiled files for it
353find $RPM_BUILD_ROOT%{python_lib}/test \
354    -name "*.pyc" -o -name "*.pyo" | xargs rm -f
355rm -f $RPM_BUILD_ROOT%{python_lib}/LICENSE.txt
356
357find $RPM_BUILD_ROOT%{python_lib}/lib-dynload -type f \
358        | grep -v _tkinter.so \
359        | sed "s|$RPM_BUILD_ROOT||" \
360        > dynfiles
361
362## Fix the file permissions
363chmod 755 $RPM_BUILD_ROOT%{python_lib}/lib-dynload/*.so
364chmod 755 $RPM_BUILD_ROOT%{_libdir}/libpython*.so.*
365find $RPM_BUILD_ROOT%{python_lib} -type f -name '*.py' | xargs chmod -x
366
367## docs
368if [ -d Doc/html ] ; then
369        rm -rf Doc/html
370fi
371tar xvzf %SOURCE1
372mv python-%{version}-docs-html Doc/html
373
374## remove unuse files
375rm -f $RPM_BUILD_ROOT%{_mandir}/man1/python*
376rm -f $RPM_BUILD_ROOT%{_bindir}/idle
377rm -f $RPM_BUILD_ROOT%{_bindir}/pydoc
378rm -f $RPM_BUILD_ROOT%{_bindir}/python
379rm -f $RPM_BUILD_ROOT%{_bindir}/python-config
380rm -f $RPM_BUILD_ROOT%{_bindir}/smtpd.py
381
382%clean
383rm -fr $RPM_BUILD_ROOT
384
385
386%files -f dynfiles
387%defattr(-, root, root)
388%doc LICENSE README
389%{_bindir}/python%{pybasever}
390%{_bindir}/python%{pybasever}-config
391%exclude %{_bindir}/2to3
392%{_libdir}/libpython%{pybasever}.so*
393%{_libdir}/pkgconfig/python-%{pybasever}.pc
394%exclude %{_libdir}/pkgconfig/python.pc
395%dir %{python_lib}
396%dir %{python_lib}/lib-dynload
397%dir %{python_lib}/site-packages
398%{python_lib}/*.py*
399%{python_lib}/*.doc
400%{python_lib}/bsddb
401%{python_lib}/compiler
402%{python_lib}/ctypes
403%{python_lib}/curses
404%{python_lib}/distutils
405%{python_lib}/email
406%{python_lib}/encodings
407%{python_lib}/hotshot
408%{python_lib}/idlelib
409%{python_lib}/importlib
410%{python_lib}/json
411%{python_lib}/lib2to3
412%{python_lib}/logging
413%{python_lib}/multiprocessing
414%{python_lib}/plat-linux2
415%{python_lib}/pydoc_data
416%{python_lib}/sqlite3
417%{python_lib}/unittest
418%{python_lib}/wsgiref
419%{python_lib}/wsgiref.egg-info
420%{python_lib}/xml
421
422%dir %{python_lib}/config
423%{python_lib}/config/Makefile
424%{python_lib}/config/libpython%{pybasever}.so*
425%dir %{_includedir}/python%{pybasever}
426%{_includedir}/python%{pybasever}/pyconfig.h
427%if %{_lib} == lib64
428%dir %{_prefix}/lib/python%{pybasever}
429%dir %{_prefix}/lib/python%{pybasever}/site-packages
430%endif
431
432%files devel
433%defattr(-,root,root)
434%{_includedir}/python%{pybasever}/*
435%{python_lib}/config
436%{python_lib}/test
437%exclude %{_includedir}/python%{pybasever}/pyconfig.h
438%exclude %{python_lib}/config/Makefile
439%exclude %{python_lib}/config/libpython%{pybasever}.so*
440
441%files tools
442%defattr(-,root,root,755)
443%{python_lib}/site-packages
444%{_bindir}/idle%{pybasever}
445%{_bindir}/modulator%{pybasever}
446%{_bindir}/msgfmt%{pybasever}.py
447%{_bindir}/pydoc%{pybasever}
448%{_bindir}/pygettext%{pybasever}.py
449%{_bindir}/pynche%{pybasever}
450%{_bindir}/smtpd%{pybasever}.py
451
452%files docs
453%defattr(-,root,root,755)
454%doc Misc/NEWS Misc/README Misc/cheatsheet Misc/HISTORY
455%doc Doc/html
456
457%files tkinter
458%defattr(-,root,root,755)
459%{python_lib}/lib-tk
460%{python_lib}/lib-dynload/_tkinter.so
461
462
463%changelog
464* Sun Apr 03 2011 Shu KONNO <owa@bg.wakwak.com> 2.7.1-1
465- initial python27 package which splited from pyhton-2.6.5-3
466- updated python to 2.7.1
467- updated python-2.7*-Setup.dist.patch
468- dorpt Patch28: python-2.6.5-fix-expat-issue9054.patch
469- dropt Patch50: Python-2.7-CVE-2010-3493.diff
470- dropt Patch51: Python-2.7-CVE-2010-3492.diff
471- added Path20-Patch40 from fedora-14
472- added Path5.x from mandriva
473- split python-2.7-lib64.patch to below
474  python-2.7-lib64-Makefile.patch
475  python-2.7-lib64-setup.patch
476  python-2.7-lib64-getpath.patch
477  python-2.7-lib64-site.patch
478  python-2.7-lib64-install.patch
479  python-2.7-lib64-sysconfig.patch
480  python-2.7-lib64-test_install.patch
481- added python-2.7-lib64-test_site.patch
482
483* Mon Mar 22 2010 Shu KONNO <owa@bg.wakwak.com> 2.6.5-3
484- fixed missing of python-docs files
485- dropt '--with doc' option
486- dropt BR: latex2html
487- replaced descriptions (from Misc/RPM/python-2.6.spec in tar-ball)
488
489* Sun Mar 21 2010 Shu KONNO <owa@bg.wakwak.com> 2.6.5-2
490- replaced Patch0: python-2.6.?-Setup.dist.patch
491- replaced Patch1: python-2.6.?-lib64.patch
492- added python-2.6.5-docs-html.tar.bz2
493- dropt Python-2.6.4-Doc.78718.tgz
494
495* Sat Mar 20 2010 Shu KONNO <owa@bg.wakwak.com> 2.6.5-1
496- updated python to 2.6.5
497- updated Patch0: Python-2.6.4-Setup.dist.patch
498- added macro bsddb_ver
499- added Patch11: python-support_bdb-4.8-v2.patch (instead of Patch10: python-2.6-db48.patch)
500
501* Sat Mar 06 2010 Shu KONNO <owa@bg.wakwak.com> 2.6.4-5
502- added Python-2.6.4-Doc.78718.tgz (documents from http://svn.python.org/projects)
503- changed default to '--with doc' again
504
505* Fri Feb 12 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.6.4-4
506- rebuilt with gcc-4.4.3-3 on ppc
507- s/BuildPreReq/BuildRequires/
508
509* Thu Feb 04 2010 Shu KONNO <owa@bg.wakwak.com> 2.6.4-3
510- replaced Python-%%{version}-Setup.dist.patch
511- added BR: sqlite3-devel
512
513* Tue Feb 02 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 2.6.4-2
514- add Patch10 to build with db-4.8
515
516* Mon Feb 01 2010 Shu KONNO <owa@bg.wakwak.com> 2.6.4-1
517- updated python to 2.6.4
518- changed default to '--without doc'
519- added Setup.dist.patch instead of Setup.dist{32,64}.patch
520- updated python-*-lib64.patch to 2.6.3
521
522* Mon Feb 01 2010 Shu KONNO <owa@bg.wakwak.com> 2.5.5-1
523- updated python to 2.5.5
524
525* Wed May 06 2009 Shu KONNO <owa@bg.wakwak.com> 2.5.4-4vl5
526- added Python-2.5.4-{Setup,Setup64}.patch
527  - added _bsddb module
528  - dropt patch{0,9,10}
529
530* Sun May  3 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.5.4-3vl5
531- updated Patch0 for building with db-4.6.21
532
533* Thu Feb 26 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.5.4-2vl5
534- add patch10
535  - add -lcrypt for cryptmodule
536
537* Wed Dec 24 2008 Shu KONNO <owa@bg.wakwak.com> 2.5.4-1vl5
538- new upstream release
539- changed typo of summary(ja)
540
541* Sat Dec 20 2008 Shu KONNO <owa@bg.wakwak.com> 2.5.3-1vl5
542- new upstream release
543- dropt python-2.4.4_CVE-2007-4965.patch
544- dropt python-2.4.4_CVE-2008-1721.patch
545- dropt python-2.4.4-CVE-2008-1679.patch
546
547* Fri Jul 18 2008 Shu KONNO <owa@bg.wakwak.com> 2.5.2-1vl5
548- updated python to 2.5.2
549- added python-2.5.2-config.patch instead of python-2.5c1-config.patch
550- added python-2.5.2-config64.patch instead of python-2.4.3-config.lib64.patch
551- added python-2.5.2-lib64.patch instead of python-2.4.2-lib64.patch
552- added modules ctypes, sqlite3, and wsgiref
553- dropt modules lib-old
554- dropt python-2.4.4_CVE-2008-1887.patch
555- dropt python-2.4.4_CVE-2007-2052.patch
556- fixed the file permissions
557
558* Sun Jun 08 2008 Shu KONNO <owa@bg.wakwak.com> 2.4.5-1vl5
559- applied new versioning policy and spec in utf-8
560- added BuildPrereq: xorg-x11-devel
561- imported updates from Vine4.2
562        * Fri Apr 25 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.4.4-1.4vl4
563        - add patch120 for fix CVE-2008-1679 (added fix of CVE-2007-4965)
564        - add patch130 for fix CVE-2008-1887 (PyString_FromStringAndSize)
565        - add patch140 for fix CVE-2007-2052 (_localemodule.c off-by-one err)
566        * Mon Apr 21 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.4.4-1.3vl4
567        - add patch110 CVE-2008-1721 (zlib module)
568        - add remove unneeded files in Lib/test/
569        #- new versioning policy
570
571* Wed Mar 12 2008 Shu KONNO <owa@bg.wakwak.com> 2.4.5-0vl1
572- updated python to 2.4.5
573
574* Wed Feb 20 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.4.4-0vl7
575- rebuild with expat-2.0.1
576
577* Mon Feb 18 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.4.4-0vl6
578- fix typo on Patch0 (s/db-4.2/db-4.3/)
579
580* Sun Feb 17 2008 Shu KONNO <owa@bg.wakwak.com> 2.4.4-0vl5
581- rebuild with tcl/tk-8.4.18
582
583* Sat Dec 01 2007 Shu KONNO <owa@bg.wakwak.com> 2.4.4-0vl4
584- imported updates from Vine4.2 Plus
585        * Thu Nov 01 2007 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.4.4-0vl1.2
586        - add BuildPrereq: nkf
587        * Wed Oct 31 2007 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.4.4-0vl1.1
588        - add patch100 for fix CVE-2007-4965 (imageop Module integer OF)
589
590* Sat Jun 16 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.4.4-0vl3
591- rebuilt with openssl-0.9.8e and tix-8.4.2
592- fixed spec file encoding
593
594* Wed May 09 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.4.4-0vl2
595- rebuilt with new toolchain and db4-4.3.x
596- modified Patch0 (s/db-4.2/db-4.3/)
597
598* Thu Oct 19 2006 Shu KONNO <owa@bg.wakwak.com> 2.4.4-0vl1
599- updated python to 2.4.4 (included security fix PSF-2006-001)
600- added japanese summary
601- updated patch8 (python-2.4.2-lib64.patch)
602- added patch9 (python-2.4.4c1-setup.lib64.patch)
603
604* Wed Sep 13 2006 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 2.4.3-0vl4
605- change docs Group to Applications/Documentation. <BTS:VineLinux:163>
606
607* Fri Aug 18 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.4.3-0vl3
608- rebuild with readline-5.1 (x86_64)
609
610* Fri Apr 14 2006 Shu KONNO <owa@bg.wakwak.com> 2.4.3-0vl2
611- fixed python-2.4.3-config.patch cause undefined symbol: crypt
612
613* Thu Mar 30 2006 Shu KONNO <owa@bg.wakwak.com> 2.4.3-0vl1
614- updated python to 2.4.3
615- added python-2.4.3-config.patch instead of python-2.4.1c1-config.patch
616
617* Wed Feb 15 2006 Shu KONNO <owa@bg.wakwak.com> 2.4.2-0vl5
618- set permition of lib-dynload/*.so to 755
619- added without_doc option
620- rebuilt with x86_64
621
622* Thu Nov 17 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.4.2-0vl4
623- add run_test option
624
625* Fri Nov  4 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.4.2-0vl3.2
626- add BuildPrereq: bzip2-devel
627- arrange testing script
628
629* Wed Nov 02 2005 Shu KONNO <owa@bg.wakwak.com> 2.4.2-0vl3.1
630- back to %%configure macro
631- change testing script
632
633* Mon Oct 31 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.4.2-0vl3
634- update Patch8 (VineSeed:10306)
635- use ./configure instead of %%configure script
636- add forgotten popd
637
638* Fri Oct 28 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.4.2-0vl2
639- add --enable-shared to confiugre option
640- add %%{_libdir}/libpython2.4.so* to python package
641- add LD_LIBRARY_PATH=$topdir to use pathfix.py
642- change build method of Doc
643- add files for make test
644- change install method
645
646* Wed Sep 28 2005 Shu KONNO <owa@bg.wakwak.com> 2.4.2-0vl1
647- update python to 2.4.2 (final)
648
649* Wed Mar 30 2005 Shu KONNO <owa@bg.wakwak.com> 2.4.1-0vl1
650- update python to 2.4.1 (final)
651
652* Sat Mar 19 2005 Shu KONNO <owa@bg.wakwak.com> 2.4.1-0vl0.c2
653- update python to 2.4.1c2
654- moved all site-packages files to python-tools package
655
656* Sat Mar 12 2005 Shu KONNO <owa@bg.wakwak.com> 2.4.1-0vl0.c1
657- update python to 2.4.1c1
658- droped aspython2 macros
659- droped japanese-codecs module
660- droped Source2 idle, now it's provided from original source
661- droped Source3 modulator, now it's generated in a spec file
662- droped Source4 pynche, now it's generated in a spec file
663- droped Python-2.3.3-buildroot-bytecode.patch
664- changed python-2.3.3-config2.patch to python-2.4.1c1-config.patch
665
666* Wed Feb 09 2005 Shu KONNO <owa@bg.wakwak.com> 2.3.5-0vl1
667- update python to 2.3.5
668
669* Fri Feb 04 2005 Shu KONNO <owa@bg.wakwak.com> 2.3.4-0vl6
670- add PSF-2005-001.patch
671
672* Wed Nov 17 2004 Shu KONNO <owa@bg.wakwak.com> 2.3.4-0vl4
673- rebuilt
674
675* Wed Oct 13 2004 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.3.4-0vl3
676- modified Patch0 and Patch8 (-ldb-4.0 -> -ldb-4.2)
677
678* Wed Oct 13 2004 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.3.4-0vl2
679- rebuilt with db4-4.2.25
680
681* Thu May 27 2004 Shu KONNO <owa@bg.wakwak.com> 2.3.4-0vl1
682- updated python to 2.3.4
683- fixed patch10, patch11
684
685* Sat Apr 17 2004 Shu KONNO <owa@bg.wakwak.com> 2.3.3-0vl1
686- rebuild
687
688* Thu Apr 08 2004 Shu KONNO <owa@bg.wakwak.com> 2.3.3-0vl0.3
689- updated python-2.3.3-config2.patch
690
691* Thu Apr 08 2004 Shu KONNO <owa@bg.wakwak.com> 2.3.3-0vl0.2
692- added librarys 'logging, bsddb, idlelib' to /usr/lib/python2.3
693
694* Wed Apr 07 2004 Shu KONNO <owa@bg.wakwak.com> 2.3.3-0vl0.1
695- updated python to 2.3.3
696- changed version code 2.2.3 to 2.3.3 in source{2,3,4}
697- updated config2.patch for 2.3.3
698- updated nowhatsnew.patch for 2.3.3
699- updated distutilrpm.patch in which tabstops have made indent error
700- updated buildroot-bytecode.patch for 2.3.3
701- deleted buildroot.patch which fixed in 2.3.3
702- changed Tools/idle with Lib/idlelib
703
704* Wed Mar 31 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.2.3-3vl3
705- rebuild with openssl-0.9.7d
706
707* Wed Mar 03 2004 Shu KONNO <owa@bg.wakwak.com> 2.2.3-3vl2
708- updated JapaneseCodecs to 1.4.10
709
710* Wed Jul 09 2003 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 2.2.3-3vl1
711- synced with RawHide 2.2.3-3 (substantially source ver up)
712
713* Mon Mar 31 2003 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 2.2.2-26vl1
714- rebuild with tcltk-8.4.2
715- synced with RawHide 2.2.2-26
716  * Mon Feb 24 2003 Elliot Lee <sopwith@redhat.com>
717  - rebuilt
718
719  * Mon Feb 24 2003 Mihai Ibanescu <misa@redhat.com> 2.2.2-25
720  - Fixed bug #84886: pydoc dies when run w/o arguments
721  - Fixed bug #84205: add python shm module back (used to be shipped with 1.5.2)
722  - Fixed bug #84966: path in byte-compiled code still wrong
723
724  * Thu Feb 20 2003 Jeremy Katz <katzj@redhat.com> 2.2.2-23
725  - ftp uri's should be able to specify being rooted at the root instead of
726    where you login via ftp (#84692)
727
728  * Mon Feb 10 2003 Mihai Ibanescu <misa@redhat.com> 2.2.2-22
729  - Using newer Japanese codecs (1.4.9). Thanks to
730    Peter Bowen <pzb@datastacks.com> for pointing this out.
731
732  * Thu Feb  6 2003 Mihai Ibanescu <misa@redhat.com> 2.2.2-21
733  - Rebuild
734
735  * Wed Feb  5 2003 Mihai Ibanescu <misa@redhat.com> 2.2.2-20
736  - Release number bumped really high: turning on UCS4 (ABI compatibility
737    breakage)
738
739  * Fri Jan 31 2003 Mihai Ibanescu <misa@redhat.com> 2.2.2-13
740  - Attempt to look both in /usr/lib64 and /usr/lib/python2.2/site-packages/:
741    some work on python-2.2.2-lib64.patch
742
743  * Thu Jan 30 2003 Mihai Ibanescu <misa@redhat.com> 2.2.2-12
744  - Rebuild to incorporate the removal of .lib64 and - files.
745
746  * Thu Jan 30 2003 Mihai Ibanescu <misa@redhat.com> 2.2.2-11.7.3
747  - Fixed bug #82544: Errata removes most tools
748  - Fixed bug #82435: Python 2.2.2 errata breaks redhat-config-users
749  - Removed .lib64 and - files that get installed after we fix the multilib
750    .py files.
751
752  * Wed Jan 22 2003 Tim Powers <timp@redhat.com>
753  - rebuilt
754
755  * Wed Jan 15 2003 Jens Petersen <petersen@redhat.com> 2.2.2-10
756  - rebuild to update tkinter's tcltk deps
757  - convert changelog to utf-8
758
759
760* Wed Jan 15 2003 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.2.2-9vl0
761- rebuilt for Vine Linux against db4
762- obsolete python-base (which comes with python-2.2.1 of TestPkg)
763
764* Tue Jan  7 2003 Nalin Dahyabhai <nalin@redhat.com> 2.2.2-9
765- rebuild
766
767* Fri Jan  3 2003 Nalin Dahyabhai <nalin@redhat.com>
768- pick up OpenSSL cflags and ldflags from pkgconfig if available
769
770* Thu Jan  2 2003 Jeremy Katz <katzj@redhat.com> 2.2.2-8
771- urllib2 didn't support non-anonymous ftp.  add support based on how
772  urllib did it (#80676, #78168)
773
774* Mon Dec 16 2002 Mihai Ibanescu <misa@redhat.com> 2.2.2-7
775- Fix bug #79647 (Rebuild of SRPM fails if python isn't installed)
776- Added a bunch of missing BuildRequires found while fixing the
777  above-mentioned bug
778
779* Tue Dec 10 2002 Tim Powers <timp@redhat.com> 2.2.2-6
780- rebuild to fix broken tcltk deps for tkinter
781
782* Fri Nov 22 2002 Mihai Ibanescu <misa@redhat.com>
7832.2.2-3.7.3
784- Recompiled for 7.3 (to fix the -lcrypt bug)
785- Fix for the spurious error message at the end of the build (build-requires
786  gets confused by executable files starting with """"): make the tests
787  non-executable.
788
789* Wed Nov 20 2002 Mihai Ibanescu <misa@redhat.com>
7902.2.2-5
791- Fixed configuration patch to add -lcrypt when compiling cryptmodule.c
792
7932.2.2-4
794- Spec file change from Matt Wilson <msw@redhat.com> to disable linking
795  with the C++ compiler.
796
797* Mon Nov 11 2002 Mihai Ibanescu <misa@redhat.com>
7982.2.2-3.*
799- Merged patch from Karsten Hopp <karsten@redhat.de> from 2.2.1-17hammer to
800  use %%{_libdir}
801- Added XFree86-libs as BuildRequires (because of tkinter)
802- Fixed duplicate listing of plat-linux2
803- Fixed exclusion of lib-dynload/japanese
804- Added lib64 patch for the japanese codecs
805- Use setup magic instead of using tar directly on JapaneseCodecs
806
807* Tue Nov  5 2002 Mihai Ibanescu <misa@redhat.com>
8082.2.2-2
809- Fix #76912 (python-tools contains idle, which uses tkinter, but there is no
810  requirement of tkinter from python-tools).
811- Fix #74013 (rpm is missing the /usr/lib/python2.2/test directory)
812
813* Mon Nov  4 2002 Mihai Ibanescu <misa@redhat.com>
814- builds as python2 require a different libdb
815- changed the buildroot name of python to match python2 builds
816
817* Fri Nov  1 2002 Mihai Ibanescu <misa@redhat.com>
818- updated python to 2.2.2 and adjusted the patches accordingly
819
820* Mon Oct 21 2002 Mihai Ibanescu <misa@redhat.com>
821- Fix #53930 (Python-2.2.1-buildroot-bytecode.patch)
822- Added BuildPrereq dependency on gcc-c++
823
824* Fri Aug 30 2002 Trond Eivind Glomsroed <teg@redhat.com> 2.2.1-17
825- security fix for _execvpe
826
827* Tue Aug 13 2002 Trond Eivind Glomsroed <teg@redhat.com> 2.2.1-16
828- Fix  #71011,#71134, #58157
829
830* Wed Aug  7 2002 Trond Eivind Glomsroed <teg@redhat.com> 2.2.1-15
831- Resurrect tkinter
832- Fix for distutils (#67671)
833- Fix #69962
834
835* Thu Jul 25 2002 Trond Eivind Glomsroed <teg@redhat.com> 2.2.1-14
836- Obsolete tkinter/tkinter2 (#69838)
837
838* Tue Jul 23 2002 Trond Eivind Glomsroed <teg@redhat.com> 2.2.1-13
839- Doc fixes (#53951) - not on alpha at the momemt
840
841* Mon Jul  8 2002 Trond Eivind Glomsroed <teg@redhat.com> 2.2.1-12
842- fix pydoc (#68082)
843
844* Mon Jul  8 2002 Trond Eivind Glomsroed <teg@redhat.com> 2.2.1-11
845- Add db4-devel as a BuildPrereq
846
847* Fri Jun 21 2002 Tim Powers <timp@redhat.com> 2.2.1-10
848- automated rebuild
849
850* Mon Jun 17 2002 Trond Eivind Glomsroed <teg@redhat.com> 2.2.1-9
851- Add Japanese codecs (#66352)
852
853* Tue Jun 11 2002 Trond Eivind Glomsroed <teg@redhat.com> 2.2.1-8
854- No more tkinter...
855
856* Wed May 29 2002 Trond Eivind Glomsroed <teg@redhat.com> 2.2.1-7
857- Rebuild
858
859* Tue May 21 2002 Trond Eivind Glomsroed <teg@redhat.com> 2.2.1-6
860- Add the email subcomponent (#65301)
861
862* Fri May 10 2002 Trond Eivind Glomsroed <teg@redhat.com> 2.2.1-5
863- Rebuild
864
865* Thu May 02 2002 Than Ngo <than@redhat.com> 2.2.1-4
866- rebuild i new enviroment
867
868* Tue Apr 23 2002 Trond Eivind Glomsroed <teg@redhat.com>
869- Use ucs2, not ucs4, to avoid breaking tkinter (#63965)
870
871* Mon Apr 22 2002 Trond Eivind Glomsroed <teg@redhat.com> 2.2.1-2
872- Make it use db4
873
874* Fri Apr 12 2002 Trond Eivind Glomsroed <teg@redhat.com> 2.2.1-1
875- 2.2.1 - a bugfix-only release
876
877* Fri Apr 12 2002 Trond Eivind Glomsroed <teg@redhat.com> 2.2-16
878- the same, but in builddirs - this will remove them from the
879  docs package, which doesn't look in the buildroot for files.
880
881* Fri Apr 12 2002 Trond Eivind Glomsroed <teg@redhat.com> 2.2-15
882- Get rid of temporary files and .cvsignores included
883  in the tarball and make install
884
885* Fri Apr  5 2002 Trond Eivind Glomsroed <teg@redhat.com> 2.2-14
886- Don't own lib-tk in main package, only in tkinter (#62753)
887
888* Mon Mar 25 2002 Trond Eivind Glomsroed <teg@redhat.com> 2.2-13
889- rebuild
890
891* Mon Mar 25 2002 Trond Eivind Glomsroed <teg@redhat.com> 2.2-12
892- rebuild
893
894* Fri Mar  1 2002 Trond Eivind Glomsroed <teg@redhat.com> 2.2-11
895- Add a not to the Distutils obsoletes test (doh!)
896
897* Fri Mar  1 2002 Trond Eivind Glomsroed <teg@redhat.com> 2.2-10
898- Rebuild
899
900* Mon Feb 25 2002 Trond Eivind Glomsroed <teg@redhat.com> 2.2-9
901- Only obsolete Distutils when built as python
902
903* Thu Feb 21 2002 Trond Eivind Glomsroed <teg@redhat.com> 2.2-8
904- Make files in /usr/bin install side by side with python 1.5 when
905- Drop explicit requirement of db4
906  built as python2
907
908* Thu Jan 31 2002 Elliot Lee <sopwith@redhat.com> 2.2-7
909- Use version and pybasever macros to make updating easy
910- Use _smp_mflags macro
911
912* Tue Jan 29 2002 Trond Eivind Glomsroed <teg@redhat.com> 2.2-6
913- Add db4-devel to BuildPrereq
914
915* Fri Jan 25 2002 Nalin Dahyabhai <nalin@redhat.com> 2.2-5
916- disable ndbm support, which is db2 in disguise (really interesting things
917  can happen when you mix db2 and db4 in a single application)
918
919* Thu Jan 24 2002 Trond Eivind Glomsroed <teg@redhat.com> 2.2-4
920- Obsolete subpackages if necesarry
921- provide versioned python2
922- build with db4
923
924* Wed Jan 16 2002 Trond Eivind Glomsroed <teg@redhat.com> 2.2-3
925- Alpha toolchain broken. Disable build on alpha.
926- New openssl
927
928* Wed Dec 26 2001 Trond Eivind Glomsroed <teg@redhat.com> 2.2-1
929- 2.2 final
930
931* Fri Dec 14 2001 Trond Eivind Glomsroed <teg@redhat.com> 2.2-0.11c1
932- 2.2 RC 1
933- Don't include the _tkinter module in the main package - it's
934  already in the tkiter packace
935- Turn off the mpzmodule, something broke in the buildroot
936
937* Wed Nov 28 2001 Trond Eivind Glomsroed <teg@redhat.com> 2.2-0.10b2
938- Use -fPIC for OPT as well, in lack of a proper libpython.so
939
940* Mon Nov 26 2001 Matt Wilson <msw@redhat.com> 2.2-0.9b2
941- changed DESTDIR to point to / so that distutils will install dynload
942  modules properly in the installroot
943
944* Fri Nov 16 2001 Matt Wilson <msw@redhat.com> 2.2-0.8b2
945- 2.2b2
946
947* Fri Oct 26 2001 Matt Wilson <msw@redhat.com> 2.2-0.7b1
948- python2ify
949
950* Fri Oct 19 2001 Trond Eivind Glomsroed <teg@redhat.com> 2.2-0.5b1
951- 2.2b1
952
953* Sun Sep 30 2001 Trond Eivind Glomsroed <teg@redhat.com> 2.2-0.4a4
954- 2.2a4
955- Enable UCS4 support
956- Enable IPv6
957- Provide distutils
958- Include msgfmt.py and pygettext.py
959
960* Fri Sep 14 2001 Trond Eivind Glomsroed <teg@redhat.com> 2.2-0.3a3
961- Obsolete Distutils, which is now part of the main package
962- Obsolete python2
963
964* Thu Sep 13 2001 Trond Eivind Glomsroed <teg@redhat.com> 2.2-0.2a3
965- Add docs, tools and tkinter subpackages, to match the 1.5 layout
966
967* Wed Sep 12 2001 Trond Eivind Glomsroed <teg@redhat.com> 2.2-0.1a3
968- 2.2a3
969- don't build tix and blt extensions
970
971* Mon Aug 13 2001 Trond Eivind Glomsroed <teg@redhat.com>
972- Add tk and tix to build dependencies
973
974* Sat Jul 21 2001 Trond Eivind Glomsroed <teg@redhat.com>
975- 2.1.1 bugfix release - with a GPL compatible license
976
977* Fri Jul 20 2001 Trond Eivind Glomsroed <teg@redhat.com>
978- Add new build dependencies (#49753)
979
980* Tue Jun 26 2001 Nalin Dahyabhai <nalin@redhat.com>
981- build with -fPIC
982
983* Fri Jun  1 2001 Trond Eivind Glomsroed <teg@redhat.com>
984- 2.1
985- reorganization of file includes
986
987* Wed Dec 20 2000 Trond Eivind Glomsroed <teg@redhat.com>
988- fix the "requires" clause, it lacked a space causing problems
989- use %%{_tmppath}
990- don't define name, version etc
991- add the available patches from the Python home page
992
993* Fri Dec 15 2000 Matt Wilson <msw@redhat.com>
994- added devel subpackage
995
996* Fri Dec 15 2000 Matt Wilson <msw@redhat.com>
997- modify all files to use "python2.0" as the intrepter
998- don't build the Expat bindings
999- build against db1
1000
1001* Mon Oct 16 2000 Jeremy Hylton <jeremy@beopen.com>
1002- updated for 2.0 final
1003
1004* Mon Oct  9 2000 Jeremy Hylton <jeremy@beopen.com>
1005- updated for 2.0c1
1006- build audioop, imageop, and rgbimg extension modules
1007- include xml.parsers subpackage
1008- add test.xml.out to files list
1009
1010* Thu Oct  5 2000 Jeremy Hylton <jeremy@beopen.com>
1011- added bin/python2.0 to files list (suggested by Martin v. Loewis)
1012
1013* Tue Sep 26 2000 Jeremy Hylton <jeremy@beopen.com>
1014- updated for release 1 of 2.0b2
1015- use .bz2 version of Python source
1016
1017* Tue Sep 12 2000 Jeremy Hylton <jeremy@beopen.com>
1018- Version 2 of 2.0b1
1019- Make the package relocatable.  Thanks to Suchandra Thapa.
1020- Exclude Tkinter from main RPM.  If it is in a separate RPM, it is
1021  easier to track Tk releases.
Note: See TracBrowser for help on using the repository browser.