source: projects/specs/branches/6/p/python/python-vl.spec @ 7817

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