2008-09-24 00:12:56 +02:00
|
|
|
#
|
2010-09-21 18:04:31 +02:00
|
|
|
# spec file for package python-base (Version 2.7)
|
2008-09-24 00:12:56 +02:00
|
|
|
#
|
2010-01-29 18:51:47 +01:00
|
|
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2008-09-24 00:12:56 +02:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Name: python-base
|
2010-09-21 18:04:31 +02:00
|
|
|
BuildRequires: fdupes pkg-config zlib-devel
|
2008-09-24 00:12:56 +02:00
|
|
|
Url: http://www.python.org/
|
2009-07-17 16:35:32 +02:00
|
|
|
License: MIT License (or similar)
|
2008-09-24 00:12:56 +02:00
|
|
|
Group: Development/Languages/Python
|
|
|
|
AutoReqProv: on
|
2009-01-09 01:52:00 +01:00
|
|
|
# bug437293
|
|
|
|
%ifarch ppc64
|
|
|
|
Obsoletes: python-64bit
|
|
|
|
%endif
|
|
|
|
#
|
2008-09-24 00:12:56 +02:00
|
|
|
Summary: Python Interpreter base package
|
2010-09-03 17:55:49 +02:00
|
|
|
Version: 2.7
|
2010-08-26 13:50:57 +02:00
|
|
|
Release: 1
|
2010-04-13 21:40:06 +02:00
|
|
|
%define tarversion %{version}
|
2010-03-12 17:36:40 +01:00
|
|
|
%define tarname Python-%{tarversion}
|
2008-09-24 00:12:56 +02:00
|
|
|
Source0: %{tarname}.tar.bz2
|
|
|
|
Source1: macros.python
|
2009-12-21 23:06:46 +01:00
|
|
|
Source2: baselibs.conf
|
2010-09-03 17:55:49 +02:00
|
|
|
Source3: README.SUSE
|
|
|
|
Source4: distutils.cfg
|
|
|
|
Source5: _local.pth
|
|
|
|
|
|
|
|
Patch1: python-2.7-dirs.patch
|
|
|
|
Patch2: python-distutils-rpm-8.patch
|
|
|
|
Patch3: Python-2.7rc2-multilib.patch
|
|
|
|
Patch4: python-2.7rc2-canonicalize2.patch
|
|
|
|
Patch5: python-2.7rc2-configure.patch
|
|
|
|
Patch6: python-2.6-gettext-plurals.patch
|
2010-08-26 15:45:58 +02:00
|
|
|
Patch7: python-2.6.5-distutils_test_path.patch
|
|
|
|
Patch8: sparc_longdouble.patch
|
2010-08-26 17:14:32 +02:00
|
|
|
Patch9: python-2.7-acrequire.patch
|
2010-08-27 15:52:52 +02:00
|
|
|
Patch10: urllib2-AbstractBasicAuthHandler_reset_attr.diff
|
2010-09-03 17:55:49 +02:00
|
|
|
|
2008-09-24 00:12:56 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
%define python_version %(echo %{version} | head -c 3)
|
2008-10-13 16:53:57 +02:00
|
|
|
Provides: %{name} = %{python_version}
|
2008-09-24 00:12:56 +02:00
|
|
|
|
|
|
|
%description
|
|
|
|
Python is an interpreted, object-oriented programming language, and is
|
|
|
|
often compared to Tcl, Perl, Scheme, or Java. You can find an overview
|
|
|
|
of Python in the documentation and tutorials included in the python-doc
|
|
|
|
(HTML) or python-doc-pdf (PDF) packages.
|
|
|
|
|
|
|
|
This package contains all of stand-alone Python files, minus binary
|
|
|
|
modules that would pull in extra dependencies.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Guido van Rossum <guido@python.org>
|
|
|
|
|
|
|
|
%package -n python-devel
|
2009-07-17 16:35:32 +02:00
|
|
|
License: Python License ..
|
2009-11-16 10:06:23 +01:00
|
|
|
Requires: python-base = %{version} glibc-devel
|
2008-09-24 00:12:56 +02:00
|
|
|
Summary: Include Files and Libraries Mandatory for Building Python Modules
|
|
|
|
Group: Development/Languages/Python
|
|
|
|
AutoReqProv: on
|
|
|
|
|
|
|
|
%description -n python-devel
|
|
|
|
The Python programming language's interpreter can be extended with
|
|
|
|
dynamically loaded extensions and can be embedded in other programs.
|
|
|
|
|
|
|
|
This package contains header files, a static library, and development
|
|
|
|
tools for building Python modules, extending the Python interpreter or
|
|
|
|
embedding Python in applications.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Guido van Rossum <guido@python.org>
|
|
|
|
|
|
|
|
%package -n python-xml
|
2009-07-17 16:35:32 +02:00
|
|
|
License: Python License ..
|
2008-09-24 00:12:56 +02:00
|
|
|
Requires: python-base = %{version}
|
|
|
|
Summary: A Python XML Interface
|
|
|
|
Group: Development/Libraries/Python
|
|
|
|
AutoReqProv: on
|
|
|
|
|
|
|
|
%description -n python-xml
|
|
|
|
The expat module is a Python interface to the expat XML parser. Since
|
|
|
|
Python2.x, it is part of the core Python distribution.
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-09-03 17:55:49 +02:00
|
|
|
%package -n libpython2_7-1_0
|
2009-07-17 16:35:32 +02:00
|
|
|
License: MIT License (or similar)
|
2008-09-24 00:12:56 +02:00
|
|
|
Summary: Python Interpreter shared library
|
|
|
|
Group: Development/Languages/Python
|
|
|
|
AutoReqProv: on
|
|
|
|
#%description -n libpython%{lib_version}
|
|
|
|
|
2010-09-03 17:55:49 +02:00
|
|
|
%description -n libpython2_7-1_0
|
2008-09-24 00:12:56 +02:00
|
|
|
Python is an interpreted, object-oriented programming language, and is
|
|
|
|
often compared to Tcl, Perl, Scheme, or Java. You can find an overview
|
|
|
|
of Python in the documentation and tutorials included in the python-doc
|
|
|
|
(HTML) or python-doc-pdf (PDF) packages.
|
|
|
|
|
|
|
|
This package contains libpython2.6 shared library for embedding in
|
|
|
|
other applications.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Guido van Rossum <guido@python.org>
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{tarname}
|
|
|
|
# patching
|
2010-09-03 17:55:49 +02:00
|
|
|
%patch1 -p1
|
|
|
|
%patch2 -p1
|
|
|
|
%patch3 -p1
|
|
|
|
%patch4
|
|
|
|
%patch5
|
|
|
|
%patch6
|
|
|
|
%patch7 -p1
|
2010-08-26 15:45:58 +02:00
|
|
|
%patch8 -p1
|
2010-08-26 17:14:32 +02:00
|
|
|
%patch9 -p1
|
2010-08-27 15:52:52 +02:00
|
|
|
%patch10
|
2010-03-12 17:36:40 +01:00
|
|
|
|
2008-09-24 00:12:56 +02:00
|
|
|
# some cleanup
|
|
|
|
find . -name .cvsignore -type f -print0 | xargs -0 rm -f
|
|
|
|
find . -name CVS -type d -print0 | xargs -0 rm -rf
|
|
|
|
|
|
|
|
%build
|
|
|
|
########################################
|
2009-07-17 16:35:32 +02:00
|
|
|
# disable as-needed to fix build
|
|
|
|
########################################
|
|
|
|
export SUSE_ASNEEDED=0
|
|
|
|
########################################
|
2008-09-24 00:12:56 +02:00
|
|
|
# use rpm_opt_flags
|
|
|
|
########################################
|
|
|
|
export OPT="$RPM_OPT_FLAGS"
|
|
|
|
########################################
|
2010-08-26 16:45:53 +02:00
|
|
|
# regenerate
|
2008-09-24 00:12:56 +02:00
|
|
|
########################################
|
|
|
|
autoreconf -f -i . # Modules/_ctypes/libffi
|
|
|
|
# prevent make from trying to rebuild asdl stuff, which requires existing
|
|
|
|
# python installation
|
|
|
|
touch Parser/asdl* Python/Python-ast.c Include/Python-ast.h
|
|
|
|
########################################
|
|
|
|
# configure
|
|
|
|
########################################
|
|
|
|
./configure \
|
|
|
|
--prefix=%{_prefix} \
|
|
|
|
--libdir=%{_libdir} \
|
|
|
|
--mandir=%{_mandir} \
|
|
|
|
--docdir=%{_docdir}/python \
|
|
|
|
--with-fpectl \
|
2010-01-29 18:51:47 +01:00
|
|
|
--enable-ipv6 \
|
2008-09-24 00:12:56 +02:00
|
|
|
--enable-shared \
|
|
|
|
--enable-unicode=ucs4
|
|
|
|
########################################
|
|
|
|
# compile
|
|
|
|
########################################
|
2008-10-13 16:53:57 +02:00
|
|
|
LD_LIBRARY_PATH=.:$LD_LIBRARY_PATH \
|
2010-07-23 17:08:24 +02:00
|
|
|
make %{?_smp_mflags} \
|
2008-10-13 16:53:57 +02:00
|
|
|
DESTDIR=$RPM_BUILD_ROOT \
|
|
|
|
profile-opt
|
2008-09-24 00:12:56 +02:00
|
|
|
|
|
|
|
%check
|
|
|
|
# on hppa, the threading of glibc is quite broken. The tests just stop
|
|
|
|
# at some point, and the machine does not build anything more until a
|
|
|
|
# timeout several hours later.
|
|
|
|
%ifnarch hppa %arm
|
2010-09-03 17:55:49 +02:00
|
|
|
# test_file(2k) fails in autobuild env - "stdin.seek(-1)" wrongly succeeds. probably an issue with autobuild's stdin
|
2008-09-24 00:12:56 +02:00
|
|
|
# test_urllib2 relies on being able to resolve local address, which is notoriously impossible in autobuild
|
2010-09-03 17:55:49 +02:00
|
|
|
EXCLUDE="-x test_urllib2 -x test_file -x test_file2k"
|
2008-10-22 18:44:23 +02:00
|
|
|
# test_nis and test_threading are AWFULLY slow.
|
2008-09-24 00:12:56 +02:00
|
|
|
EXCLUDE="$EXCLUDE -x test_nis -x test_threading"
|
2008-10-22 18:44:23 +02:00
|
|
|
%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
|
2008-09-24 00:12:56 +02:00
|
|
|
# Limit virtual memory to avoid spurious failures
|
|
|
|
if test $(ulimit -v) = unlimited || test $(ulimit -v) -gt 10000000; then
|
|
|
|
ulimit -v 10000000 || :
|
|
|
|
fi
|
|
|
|
make test TESTOPTS="-l $EXCLUDE"
|
|
|
|
# use network, be verbose:
|
|
|
|
#make test TESTOPTS="-l -u network -v"
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%install
|
|
|
|
# replace rest of /usr/local/bin/python or /usr/bin/python2.5 with /usr/bin/python
|
|
|
|
find . -wholename "./Parser" -prune -o -name '*.py' -type f -print0 | xargs -0 grep -lE '^#! *(/usr/.*bin/(env +)?)?python' | xargs sed -r -i -e '1s@^#![[:space:]]*(/usr/(local/)?bin/(env +)?)?python([0-9]+\.[0-9]+)?@#!/usr/bin/python@'
|
|
|
|
# the grep inbetween makes it much faster
|
|
|
|
########################################
|
|
|
|
# install it
|
|
|
|
########################################
|
|
|
|
make \
|
|
|
|
OPT="$RPM_OPT_FLAGS -fPIC" \
|
|
|
|
DESTDIR=$RPM_BUILD_ROOT \
|
|
|
|
install
|
|
|
|
# install site-specific tweaks
|
|
|
|
ln -s python%{python_version} ${RPM_BUILD_ROOT}%{_bindir}/python2
|
2010-09-03 17:55:49 +02:00
|
|
|
install -m 644 %{S:4} ${RPM_BUILD_ROOT}%{_libdir}/python%{python_version}/distutils
|
|
|
|
install -m 644 %{S:5} ${RPM_BUILD_ROOT}%{_libdir}/python%{python_version}/site-packages
|
2008-09-24 00:12:56 +02:00
|
|
|
install -d -m 755 ${RPM_BUILD_ROOT}/etc/rpm
|
|
|
|
install -m 644 %{S:1} ${RPM_BUILD_ROOT}/etc/rpm
|
2009-08-07 22:04:34 +02:00
|
|
|
# make sure /usr/lib/python/site-packages exists even on lib64 machines
|
|
|
|
mkdir -p ${RPM_BUILD_ROOT}/usr/lib/python%{python_version}/site-packages
|
2008-09-24 00:12:56 +02:00
|
|
|
########################################
|
|
|
|
# some cleanups
|
|
|
|
########################################
|
|
|
|
# remove hard links and replace them with symlinks
|
|
|
|
for dir in bin include %{_lib} ; do
|
|
|
|
rm -f $RPM_BUILD_ROOT/%{_prefix}/$dir/python
|
|
|
|
ln -s python%{python_version} $RPM_BUILD_ROOT/%{_prefix}/$dir/python
|
|
|
|
done
|
|
|
|
CLEANUP_DIR="$RPM_BUILD_ROOT%{_libdir}/python%{python_version}"
|
2010-02-05 13:55:54 +01:00
|
|
|
# don't distribute precompiled windows installers (duh)
|
|
|
|
rm -f $CLEANUP_DIR/distutils/command/*.exe
|
2010-05-25 10:30:25 +02:00
|
|
|
# kill imageop.so and audioop.so, they are rarely used and insecure
|
2008-09-24 00:12:56 +02:00
|
|
|
rm -f $CLEANUP_DIR/lib-dynload/imageop.so
|
2010-05-25 10:30:25 +02:00
|
|
|
rm -f $CLEANUP_DIR/lib-dynload/audioop.so
|
2008-09-24 00:12:56 +02:00
|
|
|
# remove various things that don't need to be in python-base
|
|
|
|
rm $RPM_BUILD_ROOT%{_bindir}/idle
|
2008-12-19 15:13:49 +01:00
|
|
|
rm -r $CLEANUP_DIR/{curses,bsddb,idlelib,lib-tk,sqlite3}
|
2008-09-24 00:12:56 +02:00
|
|
|
rm $CLEANUP_DIR/ssl.py*
|
|
|
|
# does not work without _ssl.so anyway
|
|
|
|
# replace duplicate .pyo/.pyc with hardlinks
|
|
|
|
%fdupes $RPM_BUILD_ROOT/%{_libdir}/python%{python_version}
|
|
|
|
########################################
|
|
|
|
# documentation
|
|
|
|
########################################
|
|
|
|
export PDOCS=${RPM_BUILD_ROOT}%{_docdir}/%{name}
|
|
|
|
install -d -m 755 $PDOCS
|
2010-09-03 17:55:49 +02:00
|
|
|
install -c -m 644 %{S:3} $PDOCS/
|
2008-09-24 00:12:56 +02:00
|
|
|
install -c -m 644 LICENSE $PDOCS/
|
|
|
|
install -c -m 644 README $PDOCS/
|
2010-09-03 17:55:49 +02:00
|
|
|
ln -s python%{python_version}.1.gz ${RPM_BUILD_ROOT}%{_mandir}/man1/python.1.gz
|
2008-09-24 00:12:56 +02:00
|
|
|
########################################
|
|
|
|
# devel
|
|
|
|
########################################
|
|
|
|
# install Makefile.pre.in and Makefile.pre
|
|
|
|
cp Makefile Makefile.pre.in Makefile.pre $RPM_BUILD_ROOT%{_libdir}/python%{python_version}/config/
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
#%post -n libpython%{lib_version}
|
|
|
|
|
2010-09-03 17:55:49 +02:00
|
|
|
%post -n libpython2_7-1_0
|
2008-09-24 00:12:56 +02:00
|
|
|
%{run_ldconfig}
|
|
|
|
#%postun -n libpython%{lib_version}
|
|
|
|
|
2010-09-03 17:55:49 +02:00
|
|
|
%postun -n libpython2_7-1_0
|
2008-09-24 00:12:56 +02:00
|
|
|
%{run_ldconfig}
|
|
|
|
|
|
|
|
%files -n python-devel
|
|
|
|
%defattr(-, root, root)
|
|
|
|
%{_libdir}/python%{python_version}/config/*
|
2009-02-08 02:28:20 +01:00
|
|
|
%exclude %{_libdir}/python%{python_version}/config/Setup
|
|
|
|
%exclude %{_libdir}/python%{python_version}/config/Makefile
|
2008-09-24 00:12:56 +02:00
|
|
|
%defattr(644, root, root, 755)
|
|
|
|
%{_libdir}/libpython*.so
|
2010-09-03 17:55:49 +02:00
|
|
|
%{_libdir}/pkgconfig/python-%{python_version}.pc
|
|
|
|
%{_libdir}/pkgconfig/python.pc
|
2008-09-24 00:12:56 +02:00
|
|
|
%{_includedir}/python*
|
2009-02-08 02:28:20 +01:00
|
|
|
%exclude %{_includedir}/python%{python_version}/pyconfig.h
|
2008-09-24 00:12:56 +02:00
|
|
|
%{_libdir}/python%{python_version}/test
|
2010-08-26 13:50:57 +02:00
|
|
|
%{_libdir}/python%{python_version}/unittest
|
2008-09-24 00:12:56 +02:00
|
|
|
%defattr(755, root, root)
|
|
|
|
%{_bindir}/python-config
|
|
|
|
%{_bindir}/python%{python_version}-config
|
|
|
|
|
|
|
|
%files -n python-xml
|
|
|
|
%defattr(644, root, root, 755)
|
|
|
|
%{_libdir}/python%{python_version}/xml
|
|
|
|
%{_libdir}/python%{python_version}/lib-dynload/pyexpat.so
|
|
|
|
#%files -n libpython%{lib_version}
|
|
|
|
|
2010-09-03 17:55:49 +02:00
|
|
|
%files -n libpython2_7-1_0
|
2008-09-24 00:12:56 +02:00
|
|
|
%defattr(644, root, root)
|
|
|
|
%{_libdir}/libpython*.so.*
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(644, root, root, 755)
|
|
|
|
%config /etc/rpm/macros.python
|
|
|
|
%dir %{_docdir}/%{name}
|
|
|
|
%doc %{_docdir}/%{name}/README
|
|
|
|
%doc %{_docdir}/%{name}/LICENSE
|
|
|
|
%doc %{_docdir}/%{name}/README.SUSE
|
|
|
|
%doc %{_mandir}/man1/python.1*
|
2010-09-03 17:55:49 +02:00
|
|
|
%doc %{_mandir}/man1/python%{python_version}.1*
|
2008-09-24 00:12:56 +02:00
|
|
|
%dir %{_includedir}/python%{python_version}
|
|
|
|
%{_includedir}/python%{python_version}/pyconfig.h
|
|
|
|
%{_libdir}/python
|
2009-08-07 22:04:34 +02:00
|
|
|
%dir /usr/lib/python%{python_version}
|
|
|
|
%dir /usr/lib/python%{python_version}/site-packages
|
2008-09-24 00:12:56 +02:00
|
|
|
%dir %{_libdir}/python%{python_version}
|
|
|
|
%dir %{_libdir}/python%{python_version}/config
|
|
|
|
%{_libdir}/python%{python_version}/config/Setup
|
|
|
|
%{_libdir}/python%{python_version}/config/Makefile
|
|
|
|
%{_libdir}/python%{python_version}/*.*
|
|
|
|
%{_libdir}/python%{python_version}/compiler
|
|
|
|
%{_libdir}/python%{python_version}/ctypes
|
|
|
|
%{_libdir}/python%{python_version}/distutils
|
|
|
|
%{_libdir}/python%{python_version}/email
|
|
|
|
%{_libdir}/python%{python_version}/encodings
|
|
|
|
%{_libdir}/python%{python_version}/hotshot
|
2010-09-03 17:55:49 +02:00
|
|
|
%{_libdir}/python%{python_version}/importlib
|
2008-09-24 00:12:56 +02:00
|
|
|
%{_libdir}/python%{python_version}/json
|
|
|
|
%{_libdir}/python%{python_version}/lib2to3
|
|
|
|
%{_libdir}/python%{python_version}/logging
|
|
|
|
%{_libdir}/python%{python_version}/multiprocessing
|
|
|
|
%{_libdir}/python%{python_version}/plat-*
|
2010-09-03 17:55:49 +02:00
|
|
|
%{_libdir}/python%{python_version}/pydoc_data
|
2008-09-24 00:12:56 +02:00
|
|
|
%{_libdir}/python%{python_version}/wsgiref
|
|
|
|
%dir %{_libdir}/python%{python_version}/site-packages
|
|
|
|
%{_libdir}/python%{python_version}/site-packages/README
|
2008-10-13 16:53:57 +02:00
|
|
|
%{_libdir}/python%{python_version}/site-packages/_local.pth
|
2008-09-24 00:12:56 +02:00
|
|
|
%dir %{_libdir}/python%{python_version}/lib-dynload
|
|
|
|
%{_libdir}/python%{python_version}/lib-dynload/_bisect.so
|
2010-09-03 17:55:49 +02:00
|
|
|
#%{_libdir}/python%{python_version}/lib-dynload/_bytesio.so
|
2008-09-24 00:12:56 +02:00
|
|
|
%{_libdir}/python%{python_version}/lib-dynload/_csv.so
|
|
|
|
%{_libdir}/python%{python_version}/lib-dynload/_collections.so
|
|
|
|
%{_libdir}/python%{python_version}/lib-dynload/_ctypes.so
|
|
|
|
%{_libdir}/python%{python_version}/lib-dynload/_ctypes_test.so
|
|
|
|
%{_libdir}/python%{python_version}/lib-dynload/_elementtree.so
|
2010-09-03 17:55:49 +02:00
|
|
|
#%{_libdir}/python%{python_version}/lib-dynload/_fileio.so
|
2008-09-24 00:12:56 +02:00
|
|
|
%{_libdir}/python%{python_version}/lib-dynload/_functools.so
|
|
|
|
%{_libdir}/python%{python_version}/lib-dynload/_heapq.so
|
|
|
|
%{_libdir}/python%{python_version}/lib-dynload/_hotshot.so
|
2010-09-03 17:55:49 +02:00
|
|
|
%{_libdir}/python%{python_version}/lib-dynload/_io.so
|
2008-09-24 00:12:56 +02:00
|
|
|
%{_libdir}/python%{python_version}/lib-dynload/_json.so
|
|
|
|
%{_libdir}/python%{python_version}/lib-dynload/_locale.so
|
|
|
|
%{_libdir}/python%{python_version}/lib-dynload/_lsprof.so
|
|
|
|
%{_libdir}/python%{python_version}/lib-dynload/_md5.so
|
|
|
|
%{_libdir}/python%{python_version}/lib-dynload/_multiprocessing.so
|
|
|
|
%{_libdir}/python%{python_version}/lib-dynload/_random.so
|
|
|
|
%{_libdir}/python%{python_version}/lib-dynload/_sha.so
|
|
|
|
%{_libdir}/python%{python_version}/lib-dynload/_sha256.so
|
|
|
|
%{_libdir}/python%{python_version}/lib-dynload/_sha512.so
|
|
|
|
%{_libdir}/python%{python_version}/lib-dynload/_socket.so
|
|
|
|
%{_libdir}/python%{python_version}/lib-dynload/_struct.so
|
|
|
|
%{_libdir}/python%{python_version}/lib-dynload/_testcapi.so
|
|
|
|
%{_libdir}/python%{python_version}/lib-dynload/_weakref.so
|
|
|
|
%{_libdir}/python%{python_version}/lib-dynload/array.so
|
|
|
|
%{_libdir}/python%{python_version}/lib-dynload/binascii.so
|
2009-08-07 22:04:34 +02:00
|
|
|
#arm doesn't build this module
|
|
|
|
%ifnarch %arm
|
2008-09-24 00:12:56 +02:00
|
|
|
%{_libdir}/python%{python_version}/lib-dynload/bz2.so
|
2009-08-07 22:04:34 +02:00
|
|
|
%endif
|
2008-09-24 00:12:56 +02:00
|
|
|
%{_libdir}/python%{python_version}/lib-dynload/cPickle.so
|
|
|
|
%{_libdir}/python%{python_version}/lib-dynload/cStringIO.so
|
|
|
|
%{_libdir}/python%{python_version}/lib-dynload/cmath.so
|
|
|
|
%{_libdir}/python%{python_version}/lib-dynload/crypt.so
|
|
|
|
%{_libdir}/python%{python_version}/lib-dynload/datetime.so
|
|
|
|
%{_libdir}/python%{python_version}/lib-dynload/fcntl.so
|
|
|
|
%{_libdir}/python%{python_version}/lib-dynload/future_builtins.so
|
|
|
|
%{_libdir}/python%{python_version}/lib-dynload/grp.so
|
|
|
|
%{_libdir}/python%{python_version}/lib-dynload/itertools.so
|
|
|
|
%{_libdir}/python%{python_version}/lib-dynload/linuxaudiodev.so
|
|
|
|
%{_libdir}/python%{python_version}/lib-dynload/math.so
|
|
|
|
%{_libdir}/python%{python_version}/lib-dynload/mmap.so
|
|
|
|
%{_libdir}/python%{python_version}/lib-dynload/nis.so
|
|
|
|
%{_libdir}/python%{python_version}/lib-dynload/operator.so
|
|
|
|
%{_libdir}/python%{python_version}/lib-dynload/ossaudiodev.so
|
|
|
|
%{_libdir}/python%{python_version}/lib-dynload/parser.so
|
|
|
|
%{_libdir}/python%{python_version}/lib-dynload/resource.so
|
|
|
|
%{_libdir}/python%{python_version}/lib-dynload/select.so
|
|
|
|
%{_libdir}/python%{python_version}/lib-dynload/spwd.so
|
|
|
|
%{_libdir}/python%{python_version}/lib-dynload/strop.so
|
|
|
|
%{_libdir}/python%{python_version}/lib-dynload/syslog.so
|
|
|
|
%{_libdir}/python%{python_version}/lib-dynload/termios.so
|
|
|
|
%{_libdir}/python%{python_version}/lib-dynload/time.so
|
|
|
|
%{_libdir}/python%{python_version}/lib-dynload/unicodedata.so
|
|
|
|
%{_libdir}/python%{python_version}/lib-dynload/zlib.so
|
|
|
|
%{_libdir}/python%{python_version}/lib-dynload/_codecs*.so
|
|
|
|
%{_libdir}/python%{python_version}/lib-dynload/_multibytecodec.so
|
2010-03-12 17:36:40 +01:00
|
|
|
%{_libdir}/python%{python_version}/lib-dynload/Python-%{tarversion}-py%{python_version}.egg-info
|
2008-09-24 00:12:56 +02:00
|
|
|
# these modules don't support 64-bit arches (disabled by setup.py)
|
2010-03-04 16:07:48 +01:00
|
|
|
%ifnarch alpha ia64 x86_64 s390x ppc64 sparc64
|
2008-09-24 00:12:56 +02:00
|
|
|
# requires sizeof(int) == sizeof(long) == sizeof(char*)
|
|
|
|
%{_libdir}/python%{python_version}/lib-dynload/dl.so
|
|
|
|
%endif
|
|
|
|
%attr(755, root, root) %{_bindir}/pydoc
|
|
|
|
%attr(755, root, root) %{_bindir}/python
|
|
|
|
%attr(755, root, root) %{_bindir}/2to3
|
|
|
|
%attr(755, root, root) %{_bindir}/python%{python_version}
|
|
|
|
%attr(755, root, root) %{_bindir}/smtpd.py
|
|
|
|
%{_bindir}/python2
|
|
|
|
|
|
|
|
%changelog
|