SHA256
1
0
forked from pool/python
OBS User unknown
2008-05-06 22:09:21 +00:00
committed by Git OBS Bridge
parent 71b5b225b7
commit cccc118b27
4 changed files with 46 additions and 2 deletions

View File

@@ -21,7 +21,7 @@ AutoReqProv: on
Obsoletes: python-nothreads python21 python-elementtree python-sqlite
Summary: Python Interpreter
Version: 2.5.2
Release: 14
Release: 19
%define tarname Python-%{version}
Source0: %{tarname}.tar.bz2
Source6: README.SUSE
@@ -43,6 +43,7 @@ Patch30: python-2.5.1-sqlite.patch
Patch31: python-2.5.2-fwrapv.patch
Patch32: disable-dns-test.diff
Patch33: python-2.5.2-from-string-and-size.patch
Patch34: python-2.5.2-docdirs.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%define python_version %(echo %{version} | head -c 3)
%define idle_name idle
@@ -215,6 +216,7 @@ Python2.x, it is part of the core Python distribution.
%patch32
%endif
%patch33 -p2
%patch34
# some cleanup
find . -name .cvsignore -type f -print0 | xargs -0 rm -f
find . -name CVS -type d -print0 | xargs -0 rm -rf
@@ -235,6 +237,7 @@ autoreconf -f -i . Modules/_ctypes/libffi
--prefix=%{_prefix} \
--libdir=%{_libdir} \
--mandir=%{_mandir} \
--docdir=%{_docdir}/python \
--enable-ipv6 \
--with-fpectl \
--enable-shared \
@@ -487,6 +490,10 @@ rm -rf $RPM_BUILD_ROOT
%{_bindir}/python2
%changelog
* Thu Apr 24 2008 matejcik@suse.cz
- proper path for html documentation from python-doc,
help text mentioning python-doc package in pydoc
(bnc#380942)
* Wed Apr 16 2008 matejcik@suse.cz
- PyString_FromStringAndSize now checks size parameter
(bnc#379534, CVE-2008-1721)