source: projects/specs/trunk/p/python27/python27-vl.spec @ 8253

Revision 8253, 34.0 KB checked in by daisuke, 10 years ago (diff)

python27: update to 2.7.6

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