From fb9bc91d3bd935bf8c15b16cede35b371da099aa6148d574f9bfa180d5db2588 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Mon, 8 Jan 2007 21:55:18 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python?expand=0&rev=2 --- python-doc.spec | 4 +-- python.changes | 5 +++ python.spec | 81 +++++++++++++++++++++++++------------------------ 3 files changed, 49 insertions(+), 41 deletions(-) diff --git a/python-doc.spec b/python-doc.spec index 634edd1..a8c961b 100644 --- a/python-doc.spec +++ b/python-doc.spec @@ -1,7 +1,7 @@ # # spec file for package python-doc (Version 2.5) # -# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # @@ -17,7 +17,7 @@ Group: Development/Languages/Python BuildRoot: %{_tmppath}/%{name}-%{version}-build Summary: Additional Package Documentation. Version: 2.5 -Release: 1 +Release: 19 %define pyver %{version} BuildArch: noarch %define tarname Python-%{pyver} diff --git a/python.changes b/python.changes index ad5a40b..04b7cc9 100644 --- a/python.changes +++ b/python.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Jan 8 19:27:06 CET 2007 - cthiel@suse.de + +- fix sqlite3 support (#228733) + ------------------------------------------------------------------- Tue Sep 19 18:20:07 CEST 2006 - jmatejek@suse.cz diff --git a/python.spec b/python.spec index bc548bf..3194861 100644 --- a/python.spec +++ b/python.spec @@ -1,7 +1,7 @@ # # spec file for package python (Version 2.5) # -# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # @@ -11,15 +11,15 @@ # norootforbuild Name: python -BuildRequires: blt db-devel emacs-nox gcc-c++ gmp-devel openssl-devel readline-devel tk-devel xorg-x11-devel +BuildRequires: blt db-devel emacs-nox gcc-c++ gmp-devel openssl-devel readline-devel sqlite-devel tk-devel xorg-x11-devel URL: http://www.python.org/ -License: Artistic License, Other License(s), see package +License: X11/MIT Group: Development/Languages/Python Autoreqprov: on Obsoletes: python-nothreads python21 Summary: Python Interpreter Version: 2.5 -Release: 1 +Release: 28 %define tarname Python-%{version} Source0: %{tarname}.tar.bz2 Source6: README.SUSE @@ -409,6 +409,7 @@ rm -rf $RPM_BUILD_ROOT %dir %{_libdir}/python%{python_version}/site-packages %{_libdir}/python%{python_version}/site-packages/README %dir %{_libdir}/python%{python_version}/lib-dynload +%{_libdir}/python%{python_version}/lib-dynload/_sqlite3.so %{_libdir}/python%{python_version}/lib-dynload/_bisect.so %{_libdir}/python%{python_version}/lib-dynload/_bsddb.so %{_libdir}/python%{python_version}/lib-dynload/_csv.so @@ -475,12 +476,14 @@ rm -rf $RPM_BUILD_ROOT %attr(755, root, root) %{_bindir}/smtpd.py %changelog -n python +* Mon Jan 08 2007 - cthiel@suse.de +- fix sqlite3 support (#228733) * Tue Sep 19 2006 - jmatejek@suse.cz - update to 2.5 final, going into STABLE dist - issue with lib/python/config is not caused by dirs patch * Wed Sep 13 2006 - jmatejek@suse.cz - update to 2.5c2 -- 2.5 final is expected next week + - 2.5 final is expected next week - removed testfiles.tar.bz2 from package due to copyright issues (see #204867). Reminder: enable urlfetch or put it back (or both, using Nosource) @@ -493,25 +496,25 @@ rm -rf $RPM_BUILD_ROOT http://docs.python.org/dev/whatsnew/section-other.html (this link is expected to die, so just search for "what's new in 2.5") - open issues in build process: -- sed'ing out /usr/local/bin/python from files causes build to fail + - sed'ing out /usr/local/bin/python from files causes build to fail if not filtered by grep (see %%prep section) - might be a bug in sed -- 2.3.3-dirs patch + --enable-shared + --libdir breaks build, + - 2.3.3-dirs patch + --enable-shared + --libdir breaks build, because "-L/usr/lib*/python2.5/config" is added instead of "-L." Workaround in 2.5c1-dirs-fix, should be replaced soon -- test_file fails in autobuild, but is OK when building manually -- test_nis fails in autobuild, probably due to a misconfiguration + - test_file fails in autobuild, but is OK when building manually + - test_nis fails in autobuild, probably due to a misconfiguration on autobuild servers -- it might be good to create python-sqlite3 subpackage + - it might be good to create python-sqlite3 subpackage * Mon Apr 24 2006 - jmatejek@suse.cz - update to 2.4.3 -- no big changes, bugfix-only release (about 50 bugs fixed) + - no big changes, bugfix-only release (about 50 bugs fixed) * Wed Mar 15 2006 - jmatejek@suse.cz - moved -doc and -doc-pdf into separate noarch specfile * Mon Feb 27 2006 - jmatejek@suse.cz - implemented /usr/local path schemes for bug #149809 -- python now recognizes packages in /usr/local/lib/python2.4 -- distutils install by default into /usr/local/lib/python2.4/site-packages -- on 64bit systems that is of course lib64 + - python now recognizes packages in /usr/local/lib/python2.4 + - distutils install by default into /usr/local/lib/python2.4/site-packages + - on 64bit systems that is of course lib64 * Wed Jan 25 2006 - mls@suse.de - converted neededforbuild to BuildRequires * Sat Jan 14 2006 - kukuk@suse.de @@ -525,12 +528,12 @@ rm -rf $RPM_BUILD_ROOT - additional fixes to canonicalize patch, restored interactive mode * Mon Sep 26 2005 - jmatejek@suse.cz - replaced the previous patch with a new one -- it now tries to use canonical_file_name(), falling back to realpath() + - it now tries to use canonical_file_name(), falling back to realpath() and eventually readlink -- canonical_file_name() branch now sets the buffer length + - canonical_file_name() branch now sets the buffer length * Fri Sep 23 2005 - jmatejek@suse.cz - fixed to build with gcc's new buffer overflow checking -- added patch from https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=169046 + - added patch from https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=169046 * Fri Apr 22 2005 - schwab@suse.de - Always enable SSL bug workarounds. * Tue Apr 05 2005 - mcihar@suse.cz @@ -549,9 +552,9 @@ rm -rf $RPM_BUILD_ROOT - make lib64 installation also work on others than x86_64 * Mon Dec 20 2004 - mcihar@suse.de - fixed build on ppc64 -- update multiarch patch -- do not test bsddb internals -- remove optimalisation from flags, it breaks at least math + - update multiarch patch + - do not test bsddb internals + - remove optimalisation from flags, it breaks at least math * Mon Dec 20 2004 - mcihar@suse.cz - added extra files needed for some tests (codecmaps and unicode normalisation) - enabled bsddb tests @@ -600,9 +603,9 @@ rm -rf $RPM_BUILD_ROOT - updated README.SUSE * Tue Mar 16 2004 - mcihar@suse.cz - included some fixes from cvs: -- fix possible segfault in bsddb -- urllib2 supports non-anonymous ftp and absolute paths -- fixed GC problems in PyWeakref_NewRef + - fix possible segfault in bsddb + - urllib2 supports non-anonymous ftp and absolute paths + - fixed GC problems in PyWeakref_NewRef * Thu Mar 11 2004 - mcihar@suse.cz - fix readline with utf-8 (bug #34302) * Wed Mar 03 2004 - mcihar@suse.cz @@ -631,8 +634,8 @@ rm -rf $RPM_BUILD_ROOT - Remove not used packages from neededforbuild * Fri Oct 03 2003 - mcihar@suse.cz - updated to 2.3.2 -- A bug in autoconf that broke building on HP/UX systems is fixed. -- A bug in the Python configure script that meant os.fsync() was + - A bug in autoconf that broke building on HP/UX systems is fixed. + - A bug in the Python configure script that meant os.fsync() was never available is fixed. * Thu Oct 02 2003 - mcihar@suse.cz - force use of directories passed to configure script (-dirs.patch), bug #31947 @@ -685,7 +688,7 @@ rm -rf $RPM_BUILD_ROOT * Mon Jun 16 2003 - mcihar@suse.cz - modified distutils to allow generating complete file list for rpm (including directories with %%dir macro), to use this use ---record-rpm= instead of --record= + --record-rpm= instead of --record= * Thu Jun 05 2003 - mcihar@suse.cz - move documentation where it was in 2.2 versions - fixed permissions for some scripts in devel package @@ -698,11 +701,11 @@ rm -rf $RPM_BUILD_ROOT - updated lib64 patch * Mon Apr 28 2003 - mcihar@suse.cz - updated to 2.3b1, some highlights: -- sum() builtin, adds a sequence of numbers, beats reduce(). -- csv module, reads comma-separated-value files (and more). -- timeit module, times code snippets. -- os.walk(), a generator slated to replace os.path.walk(). -- platform module, by Marc-Andre Lemburg, returns detailed platform + - sum() builtin, adds a sequence of numbers, beats reduce(). + - csv module, reads comma-separated-value files (and more). + - timeit module, times code snippets. + - os.walk(), a generator slated to replace os.path.walk(). + - platform module, by Marc-Andre Lemburg, returns detailed platform information. * Thu Apr 10 2003 - mcihar@suse.cz - added DEFS to config/Makefile as it was in 2.2 @@ -711,18 +714,18 @@ rm -rf $RPM_BUILD_ROOT - fixed list of built modules for 64-bit arches * Tue Apr 01 2003 - mcihar@suse.cz - updated to python 2.3 alpha 2 -- updated many builtins and modules -- new modules: bsddb, bz2, datetime, logging, optparse, sets, + - updated many builtins and modules + - new modules: bsddb, bz2, datetime, logging, optparse, sets, textwrap, zipimport, -- some general things have changed: -- Hex/oct literals prefixed with a minus sign were handled + - some general things have changed: + - Hex/oct literals prefixed with a minus sign were handled inconsistently. -- Package index and metadata for distutils. -- Encoding declarations - you can put a comment of the form + - Package index and metadata for distutils. + - Encoding declarations - you can put a comment of the form "# -*- coding: -*-" in the first or second line of a Python source file to indicate the encoding (e.g. utf-8). -- Import from zipfiles. -- see Misc/NEWS in documentation or python website - + - Import from zipfiles. + - see Misc/NEWS in documentation or python website - http://python.org/2.3/highlights.html for more details - moved distutils into -devel package - cleaned up specfile