python24-vl.spec 29 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868
  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 with_doc %{?_without_doc:0}%{!?_without_doc:1}
  4. %define unicode ucs4
  5. %define tcl_major 8.4
  6. %define tk_major 8.4
  7. %define tix_major 8.4
  8. %define pybasever 2.4
  9. %define python_lib %{_libdir}/python%{pybasever}
  10. Summary: An interpreted, interactive, object-oriented programming language.
  11. Summary(ja): オブジェクト指向言語 Python2.4 インタプリタ
  12. Name: python24
  13. Version: 2.4.6
  14. Release: 2%{?_dist_release}
  15. License: PSF - see LICENSE
  16. Group: Development/Languages
  17. URL: http://www.python.org/2.4/
  18. Source0: Python-%{version}.tar.bz2
  19. #Source6: http://gigue.peabody.jhu.edu/~mdboom/omi/source/shm_source/shmmodule.c
  20. Source6: shmmodule.c
  21. # For TEST
  22. Source7: http://people.freebsd.org/~perky/i18n/EUC-CN.TXT
  23. Source8: http://www.unicode.org/Public/MAPPINGS/VENDORS/MICSFT/WINDOWS/CP936.TXT
  24. Source9: http://people.freebsd.org/~perky/i18n/BIG5HKSCS.TXT
  25. Source10: http://www.unicode.org/Public/MAPPINGS/VENDORS/MICSFT/WINDOWS/CP932.TXT
  26. Source11: http://people.freebsd.org/~perky/i18n/EUC-JP.TXT
  27. Source12: http://www.unicode.org/Public/MAPPINGS/OBSOLETE/EASTASIA/JIS/SHIFTJIS.TXT
  28. Source13: http://people.freebsd.org/~perky/i18n/EUC-JISX0213.TXT
  29. Source14: http://people.freebsd.org/~perky/i18n/SHIFT_JISX0213.TXT
  30. Source15: http://www.unicode.org/Public/MAPPINGS/VENDORS/MICSFT/WINDOWS/CP949.TXT
  31. Source16: http://people.freebsd.org/~perky/i18n/EUC-KR.TXT
  32. Source17: http://www.unicode.org/Public/MAPPINGS/OBSOLETE/EASTASIA/KSC/JOHAB.TXT
  33. Source18: http://www.unicode.org/Public/MAPPINGS/OBSOLETE/EASTASIA/OTHER/BIG5.TXT
  34. Source19: http://www.unicode.org/Public/MAPPINGS/VENDORS/MICSFT/WINDOWS/CP950.TXT
  35. Source20: http://www.unicode.org/Public/3.2-Update/NormalizationTest-3.2.0.txt
  36. #Patch0: python-2.4.6-config.patch
  37. Patch3: Python-2.2.1-pydocnogui.patch
  38. Patch4: Python-2.3.3-nowhatsnew.patch
  39. Patch5: Python-2.3.3-distutilrpm.patch
  40. #Patch8: python-2.4.2-lib64.patch
  41. #Patch9: python-2.4.4c1-setup.lib64.patch
  42. Patch10: python-2.4.6-Setup.patch
  43. Patch11: python-2.4.6-Setup64.patch
  44. Patch12: python-2.4.6-lib64.patch
  45. Patch13: python-2.4.6-bsddb.patch
  46. # Security fixes
  47. Patch100: python-2.4.4_CVE-2007-4965.patch
  48. Patch110: python-2.4.4_CVE-2008-1721.patch
  49. Patch120: python-2.4.4-CVE-2008-1679.patch
  50. Patch130: python-2.4.4_CVE-2008-1887.patch
  51. Patch140: python-2.4.4_CVE-2007-2052.patch
  52. Obsoletes: python2
  53. Obsoletes: Distutils
  54. Obsoletes: python-base
  55. Provides: Distutils
  56. Provides: python2.4
  57. BuildPrereq: db4-devel
  58. BuildPrereq: readline-devel, libtermcap-devel, openssl-devel, gmp-devel
  59. BuildPrereq: ncurses-devel, gdbm-devel, zlib-devel, expat-devel, tetex-latex
  60. BuildPrereq: tk tix gcc-c++ glibc-devel
  61. BuildPrereq: xorg-x11-devel mesa-libGL-devel
  62. BuildPrereq: gzip tar /usr/bin/find pkgconfig bzip2-devel
  63. BuildPrereq: nkf
  64. %if %{with_doc}
  65. BuildPrereq: latex2html
  66. %endif
  67. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  68. %description
  69. Python is an interpreted, interactive, object-oriented programming
  70. language often compared to Tcl, Perl, Scheme or Java. Python includes
  71. modules, classes, exceptions, very high level dynamic data types and
  72. dynamic typing. Python supports interfaces to many system calls and
  73. libraries, as well as to various windowing systems (X11, Motif, Tk,
  74. Mac and MFC).
  75. Programmers can write new built-in modules for Python in C or C++.
  76. Python can be used as an extension language for applications that need
  77. a programmable interface. This package contains most of the standard
  78. Python modules, as well as modules for interfacing to the Tix widget
  79. set for Tk and RPM.
  80. Note that documentation for Python is provided in the python-docs
  81. package.
  82. %package devel
  83. Summary: The libraries and header files needed for Python development.
  84. Summary(ja): Python での開発に必要なライブラリやヘッダファイル
  85. Group: Development/Libraries
  86. Obsoletes: python2-devel
  87. %description devel
  88. The Python programming language's interpreter can be extended with
  89. dynamically loaded extensions and can be embedded in other programs.
  90. This package contains the header files and libraries needed to do
  91. these types of tasks.
  92. Install python-devel if you want to develop Python extensions. The
  93. python package will also need to be installed. You'll probably also
  94. want to install the python-docs package, which contains Python
  95. documentation.
  96. %package tools
  97. Summary: A collection of development tools included with Python.
  98. Summary(ja): Python に含まれる開発ツール一式
  99. Group: Development/Tools
  100. Requires: %{name} = %{version}
  101. Requires: %{name}-tkinter = %{version}
  102. Obsoletes: python2-tools
  103. %description tools
  104. The Python package includes several development tools that are used
  105. to build python programs.
  106. %package docs
  107. Summary: Documentation for the Python programming language.
  108. Summary(ja): Python プログラミング言語のドキュメント
  109. Group: Applications/Documentation
  110. Obsoletes: python2-docs
  111. %description docs
  112. The python-docs package contains documentation on the Python
  113. programming language and interpreter. The documentation is provided
  114. in ASCII text files and in LaTeX source files.
  115. Install the python-docs package if you'd like to use the documentation
  116. for the Python language.
  117. %package tkinter
  118. Summary: A graphical user interface for the Python scripting language.
  119. Summary(ja): Python スクリプト言語のグラフィカルインターフェイス
  120. Group: Development/Languages
  121. Obsoletes: tkinter2
  122. BuildPrereq: tcl, tk
  123. Requires: %{name} = %{version}
  124. Requires: tix
  125. %description tkinter
  126. The Tkinter (Tk interface) program is an graphical user interface for
  127. the Python scripting language.
  128. You should install the tkinter package if you'd like to use a graphical
  129. user interface for Python programming.
  130. %prep
  131. %setup -q -n Python-%{version}
  132. #%patch0 -p1 -b .Setup
  133. %patch3 -p1 -b .no_gui
  134. %patch4 -p1 -b .nowhatsnew
  135. %patch5 -p1
  136. %if %{_lib} == lib64
  137. %patch11 -p1 -b .Setup64
  138. %patch12 -p1 -b .lib64
  139. %else
  140. %patch10 -p1 -b .Setup
  141. %endif
  142. %patch13 -p1 -b .bsddb
  143. # security fixes
  144. #%patch100 -p1 -b .CVE-2007-4965
  145. #%patch110 -p1 -b .CVE-2008-1721
  146. #%patch120 -p1 -b .CVE-2008-1679
  147. #%patch130 -p0 -b .CVE-2008-1887
  148. %patch140 -p0 -b .CVE-2007-2052
  149. # remove unneeded files
  150. rm -vf Lib/test/test_*.py.CVE*
  151. rm -vf Lib/test/test_*.py.orig
  152. rm -vf Lib/test/test_*.py.org
  153. # Temporary workaround to avoid confusing find-requires: don't ship the tests
  154. # as executable files
  155. chmod 0644 Lib/test/test_*.py
  156. # shm module
  157. cp %{SOURCE6} Modules
  158. cat >> Modules/Setup.dist << EOF
  159. # Shared memory module
  160. shm shmmodule.c
  161. EOF
  162. # Fix library flags
  163. pushd Modules
  164. mv Setup.dist Setup.dist.in
  165. sed "s|-ltcl|-ltcl%{tcl_major}|" < Setup.dist.in |\
  166. sed "s|-ltk|-ltk%{tk_major}|" |\
  167. sed "s|-ltix|-ltix%{tix_major}|" > Setup.dist
  168. rm -f Setup.dist.in
  169. popd
  170. %build
  171. topdir=`pwd`
  172. export CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE -fPIC"
  173. export CXXFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE -fPIC"
  174. export OPT="$RPM_OPT_FLAGS -D_GNU_SOURCE -fPIC"
  175. export LINKCC="gcc"
  176. if pkg-config openssl ; then
  177. export CFLAGS="$CFLAGS `pkg-config --cflags openssl`"
  178. export LDFLAGS="$LDFLAGS `pkg-config --libs-only-L openssl`"
  179. fi
  180. %configure --enable-ipv6 --enable-unicode=%{unicode} --enable-shared
  181. make OPT="$CFLAGS" %{?_smp_mflags}
  182. LD_LIBRARY_PATH=$topdir $topdir/python Tools/scripts/pathfix.py -i "/usr/bin/env python%{pybasever}" .
  183. make OPT="$CFLAGS" %{?_smp_mflags}
  184. # Doc
  185. %if %{with_doc}
  186. make %{?_smp_mflags} -C Doc
  187. rm Doc/html/index.html.in
  188. %endif
  189. # Test
  190. %if %{run_test}
  191. cp %{SOURCE7} ./
  192. cp %{SOURCE8} ./
  193. cp %{SOURCE9} ./
  194. cp %{SOURCE10} ./
  195. cp %{SOURCE11} ./
  196. cp %{SOURCE12} ./
  197. cp %{SOURCE13} ./
  198. cp %{SOURCE14} ./
  199. cp %{SOURCE15} ./
  200. cp %{SOURCE16} ./
  201. cp %{SOURCE17} ./
  202. cp %{SOURCE18} ./
  203. cp %{SOURCE19} ./
  204. cp %{SOURCE20} ./
  205. # This runs the test set twice (once with no compiled files, once with
  206. # the compiled files left by the previous test run).
  207. export LD_LIBRARY_PATH=$topdir
  208. export PYTHONHOME=$topdir
  209. export PYTHONPATH=$topdir/Lib:$topdir/Lib/test:$topdir/Lib/lib-tk:$topdir/Lib/site-packages:$topdir/Modules:$topdir/build/lib.linux-%{_host_cpu}-%{pybasever}
  210. find ./Lib -name '*.py[co]' -print | xargs rm -f
  211. ./python -tt ./Lib/test/regrtest.py -l
  212. ./python -tt ./Lib/test/regrtest.py -l
  213. #./python -tt ./Lib/test/test_bsddb.py -l
  214. #./python -tt ./Lib/test/test_bsddb.py -l
  215. %endif
  216. %install
  217. rm -fr $RPM_BUILD_ROOT
  218. mkdir -p $RPM_BUILD_ROOT/usr $RPM_BUILD_ROOT%{_mandir}
  219. # Clean up patched .py files that are saved as .lib64
  220. for f in distutils/command/install distutils/sysconfig; do
  221. rm -f Lib/$f.py.lib64
  222. done
  223. make DESTDIR=$RPM_BUILD_ROOT install
  224. # Fix the interpreter path in binaries installed by distutils
  225. # (which changes them by itself)
  226. # Make sure we preserve the file permissions
  227. for fixed in $RPM_BUILD_ROOT/usr/bin/pydoc; do
  228. sed 's,#!.*/python$,#!/usr/bin/env python%{pybasever},' $fixed > $fixed- \
  229. && cat $fixed- > $fixed && rm -f $fixed-
  230. done
  231. # tools
  232. mkdir -p $RPM_BUILD_ROOT%{python_lib}/site-packages
  233. echo "#!/bin/bash
  234. exec %{python_lib}/site-packages/pynche/pynche" \
  235. > $RPM_BUILD_ROOT/usr/bin/pynche
  236. chmod 755 $RPM_BUILD_ROOT/usr/bin/pynche
  237. echo "#!/bin/bash
  238. exec %{python_lib}/site-packages/modulator/modulator.py" \
  239. > $RPM_BUILD_ROOT/usr/bin/modulator
  240. chmod 755 $RPM_BUILD_ROOT/usr/bin/modulator
  241. # idle
  242. mkdir -p $RPM_BUILD_ROOT%{python_lib}/site-packages/idle
  243. install -m 755 ./Lib/idlelib/idle.py $RPM_BUILD_ROOT%{python_lib}/site-packages/idle
  244. mv $RPM_BUILD_ROOT/usr/bin/idle $RPM_BUILD_ROOT/idle
  245. sed "s/python/&%{pybasever}/" $RPM_BUILD_ROOT/idle > $RPM_BUILD_ROOT/usr/bin/idle
  246. chmod 755 $RPM_BUILD_ROOT/usr/bin/idle
  247. rm $RPM_BUILD_ROOT/idle
  248. #modulator
  249. cp -r Tools/modulator ${RPM_BUILD_ROOT}%{python_lib}/site-packages/
  250. #pynche
  251. rm -f Tools/pynche/*.pyw
  252. cp -r Tools/pynche $RPM_BUILD_ROOT%{python_lib}/site-packages/
  253. (mv Tools/modulator/README Tools/modulator/README.modulator)
  254. (mv Tools/pynche/README Tools/pynche/README.pynche)
  255. #gettext
  256. install -m755 Tools/i18n/pygettext.py $RPM_BUILD_ROOT/usr/bin/
  257. install -m755 Tools/i18n/msgfmt.py $RPM_BUILD_ROOT/usr/bin/
  258. # Get rid of crap
  259. find $RPM_BUILD_ROOT/ -name "*~"|xargs rm -f
  260. find $RPM_BUILD_ROOT/ -name ".cvsignore"|xargs rm -f
  261. find . -name "*~"|xargs rm -f
  262. find . -name ".cvsignore"|xargs rm -f
  263. #zero length
  264. rm -f $RPM_BUILD_ROOT%{python_lib}/site-packages/modulator/Templates/copyright
  265. # Clean up the testsuite - we don't need compiled files for it
  266. find $RPM_BUILD_ROOT%{python_lib}/test \
  267. -name "*.pyc" -o -name "*.pyo" | xargs rm -f
  268. rm -f $RPM_BUILD_ROOT%{python_lib}/LICENSE.txt
  269. find $RPM_BUILD_ROOT%{python_lib}/lib-dynload -type f | grep -v _tkinter.so | sed "s|$RPM_BUILD_ROOT||" > dynfiles
  270. chmod 755 $RPM_BUILD_ROOT%{python_lib}/lib-dynload/*.so
  271. chmod 755 $RPM_BUILD_ROOT%{_libdir}/libpython*.so.*
  272. ## move conflict files
  273. mkdir -p $RPM_BUILD_ROOT%{python_lib}/bin
  274. mv $RPM_BUILD_ROOT%{_bindir}/* $RPM_BUILD_ROOT%{python_lib}/bin
  275. mv $RPM_BUILD_ROOT%{python_lib}/bin/python%{pybasever} $RPM_BUILD_ROOT%{_bindir}/
  276. rm -rf $RPM_BUILD_ROOT%{_mandir}
  277. %clean
  278. rm -fr $RPM_BUILD_ROOT
  279. %files -f dynfiles
  280. %defattr(-, root, root)
  281. %doc LICENSE README
  282. %{_bindir}/python%{pybasever}
  283. %{_libdir}/libpython%{pybasever}.so*
  284. %dir %{python_lib}
  285. %dir %{python_lib}/bin
  286. %dir %{python_lib}/lib-dynload
  287. %dir %{python_lib}/site-packages
  288. %{python_lib}/bin/python
  289. %{python_lib}/*.py*
  290. %{python_lib}/*.doc
  291. %{python_lib}/bsddb
  292. %{python_lib}/compiler
  293. %{python_lib}/curses
  294. %{python_lib}/distutils
  295. %{python_lib}/email
  296. %{python_lib}/encodings
  297. %{python_lib}/hotshot
  298. %{python_lib}/idlelib
  299. %{python_lib}/lib-old
  300. %{python_lib}/logging
  301. %{python_lib}/plat-linux2
  302. %{python_lib}/xml
  303. #%{_mandir}/*/*
  304. %files devel
  305. %defattr(-,root,root)
  306. %{_includedir}/*
  307. %{python_lib}/config
  308. %{python_lib}/test
  309. %files tools
  310. %defattr(-,root,root,755)
  311. %doc Tools/modulator/README.modulator
  312. %doc Tools/pynche/README.pynche
  313. %exclude %{python_lib}/bin/python
  314. %{python_lib}/bin/*
  315. %{python_lib}/site-packages
  316. %if %{with_doc}
  317. %files docs
  318. %defattr(-,root,root,755)
  319. %doc Misc/NEWS Misc/README Misc/cheatsheet
  320. %doc Misc/HISTORY Doc/html
  321. %endif
  322. %files tkinter
  323. %defattr(-,root,root,755)
  324. %{python_lib}/lib-tk
  325. %{python_lib}/lib-dynload/_tkinter.so
  326. %changelog
  327. * Thu May 07 2009 Shu KONNO <owa@bg.wakwak.com> python2.4-2.4.6-2vl5
  328. - added python-2.4.6-{Setup,Setup64,lib64}.patch
  329. - added _bsddb module
  330. - dropt Patch{0,8,9}
  331. - added python-2.4.6-bsddb.patch
  332. * Sat Dec 20 2008 Shu KONNO <owa@bg.wakwak.com> python2.4-2.4.6-1vl5
  333. - new upstream release
  334. - dropt python-2.4.4_CVE-2007-4965.patch
  335. - dropt python-2.4.4_CVE-2008-1721.patch
  336. - dropt python-2.4.4-CVE-2008-1679.patch
  337. - dropt python-2.4.4_CVE-2008-1887.patch
  338. * Wed Oct 22 2008 Shu KONNO <owa@bg.wakwak.com> python2.4-2.4.5-1vl5
  339. - new package name is %{name}
  340. - new sub-package name is %{name}-*
  341. * Sun Jun 08 2008 Shu KONNO <owa@bg.wakwak.com> 2.4.5-1vl5
  342. - applied new versioning policy and spec in utf-8
  343. - added BuildPrereq: xorg-x11-devel
  344. - imported updates from Vine4.2
  345. * Fri Apr 25 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.4.4-1.4vl4
  346. - add patch120 for fix CVE-2008-1679 (added fix of CVE-2007-4965)
  347. - add patch130 for fix CVE-2008-1887 (PyString_FromStringAndSize)
  348. - add patch140 for fix CVE-2007-2052 (_localemodule.c off-by-one err)
  349. * Mon Apr 21 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.4.4-1.3vl4
  350. - add patch110 CVE-2008-1721 (zlib module)
  351. - add remove unneeded files in Lib/test/
  352. #- new versioning policy
  353. * Wed Mar 12 2008 Shu KONNO <owa@bg.wakwak.com> 2.4.5-0vl1
  354. - updated python to 2.4.5
  355. * Wed Feb 20 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.4.4-0vl7
  356. - rebuild with expat-2.0.1
  357. * Mon Feb 18 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.4.4-0vl6
  358. - fix typo on Patch0 (s/db-4.2/db-4.3/)
  359. * Sun Feb 17 2008 Shu KONNO <owa@bg.wakwak.com> 2.4.4-0vl5
  360. - rebuild with tcl/tk-8.4.18
  361. * Sat Dec 01 2007 Shu KONNO <owa@bg.wakwak.com> 2.4.4-0vl4
  362. - imported updates from Vine4.2 Plus
  363. * Thu Nov 01 2007 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.4.4-0vl1.2
  364. - add BuildPrereq: nkf
  365. * Wed Oct 31 2007 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.4.4-0vl1.1
  366. - add patch100 for fix CVE-2007-4965 (imageop Module integer OF)
  367. * Sat Jun 16 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.4.4-0vl3
  368. - rebuilt with openssl-0.9.8e and tix-8.4.2
  369. - fixed spec file encoding
  370. * Wed May 09 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.4.4-0vl2
  371. - rebuilt with new toolchain and db4-4.3.x
  372. - modified Patch0 (s/db-4.2/db-4.3/)
  373. * Thu Oct 19 2006 Shu KONNO <owa@bg.wakwak.com> 2.4.4-0vl1
  374. - updated python to 2.4.4 (included security fix PSF-2006-001)
  375. - added japanese summary
  376. - updated patch8 (python-2.4.2-lib64.patch)
  377. - added patch9 (python-2.4.4c1-setup.lib64.patch)
  378. * Wed Sep 13 2006 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 2.4.3-0vl4
  379. - change docs Group to Applications/Documentation. <BTS:VineLinux:163>
  380. * Fri Aug 18 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.4.3-0vl3
  381. - rebuild with readline-5.1 (x86_64)
  382. * Fri Apr 14 2006 Shu KONNO <owa@bg.wakwak.com> 2.4.3-0vl2
  383. - fixed python-2.4.3-config.patch cause undefined symbol: crypt
  384. * Thu Mar 30 2006 Shu KONNO <owa@bg.wakwak.com> 2.4.3-0vl1
  385. - updated python to 2.4.3
  386. - added python-2.4.3-config.patch instead of python-2.4.1c1-config.patch
  387. * Wed Feb 15 2006 Shu KONNO <owa@bg.wakwak.com> 2.4.2-0vl5
  388. - set permition of lib-dynload/*.so to 755
  389. - added without_doc option
  390. - rebuilt with x86_64
  391. * Thu Nov 17 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.4.2-0vl4
  392. - add run_test option
  393. * Fri Nov 4 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.4.2-0vl3.2
  394. - add BuildPrereq: bzip2-devel
  395. - arrange testing script
  396. * Wed Nov 02 2005 Shu KONNO <owa@bg.wakwak.com> 2.4.2-0vl3.1
  397. - back to %%configure macro
  398. - change testing script
  399. * Mon Oct 31 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.4.2-0vl3
  400. - update Patch8 (VineSeed:10306)
  401. - use ./configure instead of %%configure script
  402. - add forgotten popd
  403. * Fri Oct 28 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.4.2-0vl2
  404. - add --enable-shared to confiugre option
  405. - add %%{_libdir}/libpython2.4.so* to python package
  406. - add LD_LIBRARY_PATH=$topdir to use pathfix.py
  407. - change build method of Doc
  408. - add files for make test
  409. - change install method
  410. * Wed Sep 28 2005 Shu KONNO <owa@bg.wakwak.com> 2.4.2-0vl1
  411. - update python to 2.4.2 (final)
  412. * Wed Mar 30 2005 Shu KONNO <owa@bg.wakwak.com> 2.4.1-0vl1
  413. - update python to 2.4.1 (final)
  414. * Sat Mar 19 2005 Shu KONNO <owa@bg.wakwak.com> 2.4.1-0vl0.c2
  415. - update python to 2.4.1c2
  416. - moved all site-packages files to python-tools package
  417. * Sat Mar 12 2005 Shu KONNO <owa@bg.wakwak.com> 2.4.1-0vl0.c1
  418. - update python to 2.4.1c1
  419. - droped aspython2 macros
  420. - droped japanese-codecs module
  421. - droped Source2 idle, now it's provided from original source
  422. - droped Source3 modulator, now it's generated in a spec file
  423. - droped Source4 pynche, now it's generated in a spec file
  424. - droped Python-2.3.3-buildroot-bytecode.patch
  425. - changed python-2.3.3-config2.patch to python-2.4.1c1-config.patch
  426. * Wed Feb 09 2005 Shu KONNO <owa@bg.wakwak.com> 2.3.5-0vl1
  427. - update python to 2.3.5
  428. * Fri Feb 04 2005 Shu KONNO <owa@bg.wakwak.com> 2.3.4-0vl6
  429. - add PSF-2005-001.patch
  430. * Wed Nov 17 2004 Shu KONNO <owa@bg.wakwak.com> 2.3.4-0vl4
  431. - rebuilt
  432. * Wed Oct 13 2004 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.3.4-0vl3
  433. - modified Patch0 and Patch8 (-ldb-4.0 -> -ldb-4.2)
  434. * Wed Oct 13 2004 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.3.4-0vl2
  435. - rebuilt with db4-4.2.25
  436. * Thu May 27 2004 Shu KONNO <owa@bg.wakwak.com> 2.3.4-0vl1
  437. - updated python to 2.3.4
  438. - fixed patch10, patch11
  439. * Sat Apr 17 2004 Shu KONNO <owa@bg.wakwak.com> 2.3.3-0vl1
  440. - rebuild
  441. * Thu Apr 08 2004 Shu KONNO <owa@bg.wakwak.com> 2.3.3-0vl0.3
  442. - updated python-2.3.3-config2.patch
  443. * Thu Apr 08 2004 Shu KONNO <owa@bg.wakwak.com> 2.3.3-0vl0.2
  444. - added librarys 'logging, bsddb, idlelib' to /usr/lib/python2.3
  445. * Wed Apr 07 2004 Shu KONNO <owa@bg.wakwak.com> 2.3.3-0vl0.1
  446. - updated python to 2.3.3
  447. - changed version code 2.2.3 to 2.3.3 in source{2,3,4}
  448. - updated config2.patch for 2.3.3
  449. - updated nowhatsnew.patch for 2.3.3
  450. - updated distutilrpm.patch in which tabstops have made indent error
  451. - updated buildroot-bytecode.patch for 2.3.3
  452. - deleted buildroot.patch which fixed in 2.3.3
  453. - changed Tools/idle with Lib/idlelib
  454. * Wed Mar 31 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.2.3-3vl3
  455. - rebuild with openssl-0.9.7d
  456. * Wed Mar 03 2004 Shu KONNO <owa@bg.wakwak.com> 2.2.3-3vl2
  457. - updated JapaneseCodecs to 1.4.10
  458. * Wed Jul 09 2003 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 2.2.3-3vl1
  459. - synced with RawHide 2.2.3-3 (substantially source ver up)
  460. * Mon Mar 31 2003 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 2.2.2-26vl1
  461. - rebuild with tcltk-8.4.2
  462. - synced with RawHide 2.2.2-26
  463. * Mon Feb 24 2003 Elliot Lee <sopwith@redhat.com>
  464. - rebuilt
  465. * Mon Feb 24 2003 Mihai Ibanescu <misa@redhat.com> 2.2.2-25
  466. - Fixed bug #84886: pydoc dies when run w/o arguments
  467. - Fixed bug #84205: add python shm module back (used to be shipped with 1.5.2)
  468. - Fixed bug #84966: path in byte-compiled code still wrong
  469. * Thu Feb 20 2003 Jeremy Katz <katzj@redhat.com> 2.2.2-23
  470. - ftp uri's should be able to specify being rooted at the root instead of
  471. where you login via ftp (#84692)
  472. * Mon Feb 10 2003 Mihai Ibanescu <misa@redhat.com> 2.2.2-22
  473. - Using newer Japanese codecs (1.4.9). Thanks to
  474. Peter Bowen <pzb@datastacks.com> for pointing this out.
  475. * Thu Feb 6 2003 Mihai Ibanescu <misa@redhat.com> 2.2.2-21
  476. - Rebuild
  477. * Wed Feb 5 2003 Mihai Ibanescu <misa@redhat.com> 2.2.2-20
  478. - Release number bumped really high: turning on UCS4 (ABI compatibility
  479. breakage)
  480. * Fri Jan 31 2003 Mihai Ibanescu <misa@redhat.com> 2.2.2-13
  481. - Attempt to look both in /usr/lib64 and /usr/lib/python2.2/site-packages/:
  482. some work on python-2.2.2-lib64.patch
  483. * Thu Jan 30 2003 Mihai Ibanescu <misa@redhat.com> 2.2.2-12
  484. - Rebuild to incorporate the removal of .lib64 and - files.
  485. * Thu Jan 30 2003 Mihai Ibanescu <misa@redhat.com> 2.2.2-11.7.3
  486. - Fixed bug #82544: Errata removes most tools
  487. - Fixed bug #82435: Python 2.2.2 errata breaks redhat-config-users
  488. - Removed .lib64 and - files that get installed after we fix the multilib
  489. .py files.
  490. * Wed Jan 22 2003 Tim Powers <timp@redhat.com>
  491. - rebuilt
  492. * Wed Jan 15 2003 Jens Petersen <petersen@redhat.com> 2.2.2-10
  493. - rebuild to update tkinter's tcltk deps
  494. - convert changelog to utf-8
  495. * Wed Jan 15 2003 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.2.2-9vl0
  496. - rebuilt for Vine Linux against db4
  497. - obsolete python-base (which comes with python-2.2.1 of TestPkg)
  498. * Tue Jan 7 2003 Nalin Dahyabhai <nalin@redhat.com> 2.2.2-9
  499. - rebuild
  500. * Fri Jan 3 2003 Nalin Dahyabhai <nalin@redhat.com>
  501. - pick up OpenSSL cflags and ldflags from pkgconfig if available
  502. * Thu Jan 2 2003 Jeremy Katz <katzj@redhat.com> 2.2.2-8
  503. - urllib2 didn't support non-anonymous ftp. add support based on how
  504. urllib did it (#80676, #78168)
  505. * Mon Dec 16 2002 Mihai Ibanescu <misa@redhat.com> 2.2.2-7
  506. - Fix bug #79647 (Rebuild of SRPM fails if python isn't installed)
  507. - Added a bunch of missing BuildRequires found while fixing the
  508. above-mentioned bug
  509. * Tue Dec 10 2002 Tim Powers <timp@redhat.com> 2.2.2-6
  510. - rebuild to fix broken tcltk deps for tkinter
  511. * Fri Nov 22 2002 Mihai Ibanescu <misa@redhat.com>
  512. 2.2.2-3.7.3
  513. - Recompiled for 7.3 (to fix the -lcrypt bug)
  514. - Fix for the spurious error message at the end of the build (build-requires
  515. gets confused by executable files starting with """"): make the tests
  516. non-executable.
  517. * Wed Nov 20 2002 Mihai Ibanescu <misa@redhat.com>
  518. 2.2.2-5
  519. - Fixed configuration patch to add -lcrypt when compiling cryptmodule.c
  520. 2.2.2-4
  521. - Spec file change from Matt Wilson <msw@redhat.com> to disable linking
  522. with the C++ compiler.
  523. * Mon Nov 11 2002 Mihai Ibanescu <misa@redhat.com>
  524. 2.2.2-3.*
  525. - Merged patch from Karsten Hopp <karsten@redhat.de> from 2.2.1-17hammer to
  526. use %%{_libdir}
  527. - Added XFree86-libs as BuildRequires (because of tkinter)
  528. - Fixed duplicate listing of plat-linux2
  529. - Fixed exclusion of lib-dynload/japanese
  530. - Added lib64 patch for the japanese codecs
  531. - Use setup magic instead of using tar directly on JapaneseCodecs
  532. * Tue Nov 5 2002 Mihai Ibanescu <misa@redhat.com>
  533. 2.2.2-2
  534. - Fix #76912 (python-tools contains idle, which uses tkinter, but there is no
  535. requirement of tkinter from python-tools).
  536. - Fix #74013 (rpm is missing the /usr/lib/python2.2/test directory)
  537. * Mon Nov 4 2002 Mihai Ibanescu <misa@redhat.com>
  538. - builds as python2 require a different libdb
  539. - changed the buildroot name of python to match python2 builds
  540. * Fri Nov 1 2002 Mihai Ibanescu <misa@redhat.com>
  541. - updated python to 2.2.2 and adjusted the patches accordingly
  542. * Mon Oct 21 2002 Mihai Ibanescu <misa@redhat.com>
  543. - Fix #53930 (Python-2.2.1-buildroot-bytecode.patch)
  544. - Added BuildPrereq dependency on gcc-c++
  545. * Fri Aug 30 2002 Trond Eivind Glomsroed <teg@redhat.com> 2.2.1-17
  546. - security fix for _execvpe
  547. * Tue Aug 13 2002 Trond Eivind Glomsroed <teg@redhat.com> 2.2.1-16
  548. - Fix #71011,#71134, #58157
  549. * Wed Aug 7 2002 Trond Eivind Glomsroed <teg@redhat.com> 2.2.1-15
  550. - Resurrect tkinter
  551. - Fix for distutils (#67671)
  552. - Fix #69962
  553. * Thu Jul 25 2002 Trond Eivind Glomsroed <teg@redhat.com> 2.2.1-14
  554. - Obsolete tkinter/tkinter2 (#69838)
  555. * Tue Jul 23 2002 Trond Eivind Glomsroed <teg@redhat.com> 2.2.1-13
  556. - Doc fixes (#53951) - not on alpha at the momemt
  557. * Mon Jul 8 2002 Trond Eivind Glomsroed <teg@redhat.com> 2.2.1-12
  558. - fix pydoc (#68082)
  559. * Mon Jul 8 2002 Trond Eivind Glomsroed <teg@redhat.com> 2.2.1-11
  560. - Add db4-devel as a BuildPrereq
  561. * Fri Jun 21 2002 Tim Powers <timp@redhat.com> 2.2.1-10
  562. - automated rebuild
  563. * Mon Jun 17 2002 Trond Eivind Glomsroed <teg@redhat.com> 2.2.1-9
  564. - Add Japanese codecs (#66352)
  565. * Tue Jun 11 2002 Trond Eivind Glomsroed <teg@redhat.com> 2.2.1-8
  566. - No more tkinter...
  567. * Wed May 29 2002 Trond Eivind Glomsroed <teg@redhat.com> 2.2.1-7
  568. - Rebuild
  569. * Tue May 21 2002 Trond Eivind Glomsroed <teg@redhat.com> 2.2.1-6
  570. - Add the email subcomponent (#65301)
  571. * Fri May 10 2002 Trond Eivind Glomsroed <teg@redhat.com> 2.2.1-5
  572. - Rebuild
  573. * Thu May 02 2002 Than Ngo <than@redhat.com> 2.2.1-4
  574. - rebuild i new enviroment
  575. * Tue Apr 23 2002 Trond Eivind Glomsroed <teg@redhat.com>
  576. - Use ucs2, not ucs4, to avoid breaking tkinter (#63965)
  577. * Mon Apr 22 2002 Trond Eivind Glomsroed <teg@redhat.com> 2.2.1-2
  578. - Make it use db4
  579. * Fri Apr 12 2002 Trond Eivind Glomsroed <teg@redhat.com> 2.2.1-1
  580. - 2.2.1 - a bugfix-only release
  581. * Fri Apr 12 2002 Trond Eivind Glomsroed <teg@redhat.com> 2.2-16
  582. - the same, but in builddirs - this will remove them from the
  583. docs package, which doesn't look in the buildroot for files.
  584. * Fri Apr 12 2002 Trond Eivind Glomsroed <teg@redhat.com> 2.2-15
  585. - Get rid of temporary files and .cvsignores included
  586. in the tarball and make install
  587. * Fri Apr 5 2002 Trond Eivind Glomsroed <teg@redhat.com> 2.2-14
  588. - Don't own lib-tk in main package, only in tkinter (#62753)
  589. * Mon Mar 25 2002 Trond Eivind Glomsroed <teg@redhat.com> 2.2-13
  590. - rebuild
  591. * Mon Mar 25 2002 Trond Eivind Glomsroed <teg@redhat.com> 2.2-12
  592. - rebuild
  593. * Fri Mar 1 2002 Trond Eivind Glomsroed <teg@redhat.com> 2.2-11
  594. - Add a not to the Distutils obsoletes test (doh!)
  595. * Fri Mar 1 2002 Trond Eivind Glomsroed <teg@redhat.com> 2.2-10
  596. - Rebuild
  597. * Mon Feb 25 2002 Trond Eivind Glomsroed <teg@redhat.com> 2.2-9
  598. - Only obsolete Distutils when built as python
  599. * Thu Feb 21 2002 Trond Eivind Glomsroed <teg@redhat.com> 2.2-8
  600. - Make files in /usr/bin install side by side with python 1.5 when
  601. - Drop explicit requirement of db4
  602. built as python2
  603. * Thu Jan 31 2002 Elliot Lee <sopwith@redhat.com> 2.2-7
  604. - Use version and pybasever macros to make updating easy
  605. - Use _smp_mflags macro
  606. * Tue Jan 29 2002 Trond Eivind Glomsroed <teg@redhat.com> 2.2-6
  607. - Add db4-devel to BuildPrereq
  608. * Fri Jan 25 2002 Nalin Dahyabhai <nalin@redhat.com> 2.2-5
  609. - disable ndbm support, which is db2 in disguise (really interesting things
  610. can happen when you mix db2 and db4 in a single application)
  611. * Thu Jan 24 2002 Trond Eivind Glomsroed <teg@redhat.com> 2.2-4
  612. - Obsolete subpackages if necesarry
  613. - provide versioned python2
  614. - build with db4
  615. * Wed Jan 16 2002 Trond Eivind Glomsroed <teg@redhat.com> 2.2-3
  616. - Alpha toolchain broken. Disable build on alpha.
  617. - New openssl
  618. * Wed Dec 26 2001 Trond Eivind Glomsroed <teg@redhat.com> 2.2-1
  619. - 2.2 final
  620. * Fri Dec 14 2001 Trond Eivind Glomsroed <teg@redhat.com> 2.2-0.11c1
  621. - 2.2 RC 1
  622. - Don't include the _tkinter module in the main package - it's
  623. already in the tkiter packace
  624. - Turn off the mpzmodule, something broke in the buildroot
  625. * Wed Nov 28 2001 Trond Eivind Glomsroed <teg@redhat.com> 2.2-0.10b2
  626. - Use -fPIC for OPT as well, in lack of a proper libpython.so
  627. * Mon Nov 26 2001 Matt Wilson <msw@redhat.com> 2.2-0.9b2
  628. - changed DESTDIR to point to / so that distutils will install dynload
  629. modules properly in the installroot
  630. * Fri Nov 16 2001 Matt Wilson <msw@redhat.com> 2.2-0.8b2
  631. - 2.2b2
  632. * Fri Oct 26 2001 Matt Wilson <msw@redhat.com> 2.2-0.7b1
  633. - python2ify
  634. * Fri Oct 19 2001 Trond Eivind Glomsroed <teg@redhat.com> 2.2-0.5b1
  635. - 2.2b1
  636. * Sun Sep 30 2001 Trond Eivind Glomsroed <teg@redhat.com> 2.2-0.4a4
  637. - 2.2a4
  638. - Enable UCS4 support
  639. - Enable IPv6
  640. - Provide distutils
  641. - Include msgfmt.py and pygettext.py
  642. * Fri Sep 14 2001 Trond Eivind Glomsroed <teg@redhat.com> 2.2-0.3a3
  643. - Obsolete Distutils, which is now part of the main package
  644. - Obsolete python2
  645. * Thu Sep 13 2001 Trond Eivind Glomsroed <teg@redhat.com> 2.2-0.2a3
  646. - Add docs, tools and tkinter subpackages, to match the 1.5 layout
  647. * Wed Sep 12 2001 Trond Eivind Glomsroed <teg@redhat.com> 2.2-0.1a3
  648. - 2.2a3
  649. - don't build tix and blt extensions
  650. * Mon Aug 13 2001 Trond Eivind Glomsroed <teg@redhat.com>
  651. - Add tk and tix to build dependencies
  652. * Sat Jul 21 2001 Trond Eivind Glomsroed <teg@redhat.com>
  653. - 2.1.1 bugfix release - with a GPL compatible license
  654. * Fri Jul 20 2001 Trond Eivind Glomsroed <teg@redhat.com>
  655. - Add new build dependencies (#49753)
  656. * Tue Jun 26 2001 Nalin Dahyabhai <nalin@redhat.com>
  657. - build with -fPIC
  658. * Fri Jun 1 2001 Trond Eivind Glomsroed <teg@redhat.com>
  659. - 2.1
  660. - reorganization of file includes
  661. * Wed Dec 20 2000 Trond Eivind Glomsroed <teg@redhat.com>
  662. - fix the "requires" clause, it lacked a space causing problems
  663. - use %%{_tmppath}
  664. - don't define name, version etc
  665. - add the available patches from the Python home page
  666. * Fri Dec 15 2000 Matt Wilson <msw@redhat.com>
  667. - added devel subpackage
  668. * Fri Dec 15 2000 Matt Wilson <msw@redhat.com>
  669. - modify all files to use "python2.0" as the intrepter
  670. - don't build the Expat bindings
  671. - build against db1
  672. * Mon Oct 16 2000 Jeremy Hylton <jeremy@beopen.com>
  673. - updated for 2.0 final
  674. * Mon Oct 9 2000 Jeremy Hylton <jeremy@beopen.com>
  675. - updated for 2.0c1
  676. - build audioop, imageop, and rgbimg extension modules
  677. - include xml.parsers subpackage
  678. - add test.xml.out to files list
  679. * Thu Oct 5 2000 Jeremy Hylton <jeremy@beopen.com>
  680. - added bin/python2.0 to files list (suggested by Martin v. Loewis)
  681. * Tue Sep 26 2000 Jeremy Hylton <jeremy@beopen.com>
  682. - updated for release 1 of 2.0b2
  683. - use .bz2 version of Python source
  684. * Tue Sep 12 2000 Jeremy Hylton <jeremy@beopen.com>
  685. - Version 2 of 2.0b1
  686. - Make the package relocatable. Thanks to Suchandra Thapa.
  687. - Exclude Tkinter from main RPM. If it is in a separate RPM, it is
  688. easier to track Tk releases.