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

Revision 10339, 33.3 KB checked in by Takemikaduchi, 8 years ago (diff)

merge with VineSeed package

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