OBS User unknown 2008-10-22 16:44:23 +00:00 committed by Git OBS Bridge
parent 50348391e3
commit a43501f4dc
5 changed files with 22 additions and 4 deletions

View File

@ -1 +1,4 @@
python python
requires "python-base-<targettype> = <version>"
python-base
libpython2_6-1_0

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Mon Oct 20 15:18:30 CEST 2008 - matejcik@suse.cz
- added libpython and python-base to baselibs.conf (bnc#432677)
- disabled test_smtplib for ia64 so that the package actually
gets built (bnc#436966)
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Oct 9 18:56:33 CEST 2008 - matejcik@suse.cz Thu Oct 9 18:56:33 CEST 2008 - matejcik@suse.cz

View File

@ -28,7 +28,7 @@ Group: Development/Languages/Python
AutoReqProv: on AutoReqProv: on
Summary: Python Interpreter base package Summary: Python Interpreter base package
Version: 2.6.0 Version: 2.6.0
Release: 1 Release: 2
#%define tarname Python-%{version} #%define tarname Python-%{version}
%define tarname Python-2.6 %define tarname Python-2.6
Source0: %{tarname}.tar.bz2 Source0: %{tarname}.tar.bz2
@ -171,8 +171,12 @@ LD_LIBRARY_PATH=.:$LD_LIBRARY_PATH \
# test_file fails in autobuild env - "stdin.seek(-1)" wrongly succeeds. probably an issue with autobuild's stdin # test_file fails in autobuild env - "stdin.seek(-1)" wrongly succeeds. probably an issue with autobuild's stdin
# test_urllib2 relies on being able to resolve local address, which is notoriously impossible in autobuild # test_urllib2 relies on being able to resolve local address, which is notoriously impossible in autobuild
EXCLUDE="-x test_urllib2 -x test_file" EXCLUDE="-x test_urllib2 -x test_file"
# test_nis and test_threading are AWFULLY slow. uncomment this for sensible rebuild times # test_nis and test_threading are AWFULLY slow.
EXCLUDE="$EXCLUDE -x test_nis -x test_threading" EXCLUDE="$EXCLUDE -x test_nis -x test_threading"
%ifarch ia64
# test_smtplib's testSend is known to be broken and on ia64 it actually fails most of the time, preventing the build.
EXCLUDE="$EXCLUDE -x test_smtplib"
%endif
# Limit virtual memory to avoid spurious failures # Limit virtual memory to avoid spurious failures
if test $(ulimit -v) = unlimited || test $(ulimit -v) -gt 10000000; then if test $(ulimit -v) = unlimited || test $(ulimit -v) -gt 10000000; then
ulimit -v 10000000 || : ulimit -v 10000000 || :
@ -373,6 +377,10 @@ rm -rf $RPM_BUILD_ROOT
%{_bindir}/python2 %{_bindir}/python2
%changelog %changelog
* Mon Oct 20 2008 matejcik@suse.cz
- added libpython and python-base to baselibs.conf (bnc#432677)
- disabled test_smtplib for ia64 so that the package actually
gets built (bnc#436966)
* Thu Oct 09 2008 matejcik@suse.cz * Thu Oct 09 2008 matejcik@suse.cz
- update to 2.6 final (version name is 2.6.0 to make upgrade from - update to 2.6 final (version name is 2.6.0 to make upgrade from
2.6rc2 possible) 2.6rc2 possible)

View File

@ -24,7 +24,7 @@ Group: Development/Languages/Python
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
Summary: Additional Package Documentation for Python. Summary: Additional Package Documentation for Python.
Version: 2.6 Version: 2.6
Release: 1 Release: 2
%define pyver 2.6 %define pyver 2.6
BuildArch: noarch BuildArch: noarch
%define tarname Python-%{pyver} %define tarname Python-%{pyver}

View File

@ -30,7 +30,7 @@ AutoReqProv: on
Obsoletes: python-nothreads python21 python-elementtree python-sqlite Obsoletes: python-nothreads python21 python-elementtree python-sqlite
Summary: Python Interpreter Summary: Python Interpreter
Version: 2.6.0 Version: 2.6.0
Release: 1 Release: 2
Requires: python-base = %{version} Requires: python-base = %{version}
#%define tarname Python-%{version} #%define tarname Python-%{version}
%define tarname Python-2.6 %define tarname Python-2.6