3.2; add python3-debug symlink

- 3.2
- remove alphatag
- regenerate autotool patch
- add a /usr/bin/python3-debug symlink within the debug subpackage
This commit is contained in:
David Malcolm 2011-02-21 15:59:56 -05:00
parent fef240e443
commit 607ce95f34
4 changed files with 2367 additions and 27 deletions

1
.gitignore vendored
View File

@ -4,3 +4,4 @@ Python-3.2a1.tar.bz2
/Python-3.2b2.tar.bz2
/Python-3.2rc1.tar.bz2
/Python-3.2rc2.tar.bz2
/Python-3.2.tar.bz2

File diff suppressed because it is too large Load Diff

View File

@ -3,8 +3,6 @@
# pybasever without the dot:
%global pyshortver 32
%global alphatag rc2
%global pylibdir %{_libdir}/python%{pybasever}
%global dynload_dir %{pylibdir}/lib-dynload
@ -113,10 +111,10 @@
Summary: Version 3 of the Python programming language aka Python 3000
Name: python3
Version: %{pybasever}
Release: 0.11.%{alphatag}%{?dist}
Release: 1%{?dist}
License: Python
Group: Development/Languages
Source: http://python.org/ftp/python/%{version}/Python-%{version}%{alphatag}.tar.bz2
Source: http://python.org/ftp/python/%{version}/Python-%{version}.tar.bz2
# Avoid having various bogus auto-generated Provides lines for the various
# python c modules' SONAMEs:
@ -352,7 +350,7 @@ can load its own extensions.
%endif # with_debug_build
%prep
%setup -q -n Python-%{version}%{alphatag}
%setup -q -n Python-%{version}
chmod +x %{SOURCE1}
%if 0%{?with_systemtap}
@ -737,6 +735,13 @@ for Module in %{buildroot}/%{dynload_dir}/*.so ; do
esac
done
# Create "/usr/bin/python3-debug", a symlink to the python3 debug binary, to
# avoid the user having to know the precise version and ABI flags. (see
# e.g. rhbz#676748):
ln -s \
%{_bindir}/python%{LDVERSION_debug} \
%{buildroot}%{_bindir}/python3-debug
#
# Systemtap hooks:
#
@ -830,7 +835,7 @@ rm -fr %{buildroot}
%doc LICENSE README
%dir %{pylibdir}
%dir %{dynload_dir}
%{dynload_dir}/Python-%{version}%{alphatag}-py%{pybasever}.egg-info
%{dynload_dir}/Python-%{version}-py%{pybasever}.egg-info
%{dynload_dir}/_bisect.%{SOABI_optimized}.so
%{dynload_dir}/_codecs_cn.%{SOABI_optimized}.so
%{dynload_dir}/_codecs_hk.%{SOABI_optimized}.so
@ -1063,6 +1068,7 @@ rm -fr %{buildroot}
# Analog of the core subpackage's files:
%{_bindir}/python%{LDVERSION_debug}
%{_bindir}/python3-debug
# Analog of the -libs subpackage's files:
# ...with debug builds of the built-in "extension" modules:
@ -1167,6 +1173,12 @@ rm -fr %{buildroot}
%changelog
* Mon Feb 21 2011 David Malcolm <dmalcolm@redhat.com> - 3.2-1
- 3.2
- remove alphatag
- regenerate autotool patch
- add a /usr/bin/python3-debug symlink within the debug subpackage
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2-0.11.rc2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild

View File

@ -1 +1 @@
57ba48501a4261f3c227585b07629e27 Python-3.2rc2.tar.bz2
92e94b5b6652b96349d6362b8337811d Python-3.2.tar.bz2