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