* Thu Sep 9 2010 David Malcolm <dmalcolm@redhat.com> - 3.2-0.4.a1

- move most of the content of the core package to the libs subpackage, given
that the libs aren't meaningfully usable without the standard libraries
This commit is contained in:
David Malcolm 2010-09-09 14:52:31 -04:00
parent e1c7be02b9
commit 26c1be588d
1 changed files with 12 additions and 4 deletions

View File

@ -88,7 +88,7 @@
Summary: Version 3 of the Python programming language aka Python 3000 Summary: Version 3 of the Python programming language aka Python 3000
Name: python3 Name: python3
Version: %{pybasever} Version: %{pybasever}
Release: 0.3.%{alphatag}%{?dist} Release: 0.4.%{alphatag}%{?dist}
License: Python License: Python
Group: Development/Languages Group: Development/Languages
Source: http://python.org/ftp/python/%{version}/Python-%{version}%{alphatag}.tar.bz2 Source: http://python.org/ftp/python/%{version}/Python-%{version}%{alphatag}.tar.bz2
@ -288,6 +288,8 @@ URL: http://www.python.org/
# See notes in bug 532118: # See notes in bug 532118:
Provides: python(abi) = %{pybasever} Provides: python(abi) = %{pybasever}
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
%description %description
Python 3 is a new version of the language that is incompatible with the 2.x Python 3 is a new version of the language that is incompatible with the 2.x
line of releases. The language is mostly the same, but many details, especially line of releases. The language is mostly the same, but many details, especially
@ -856,6 +858,10 @@ rm -fr %{buildroot}
%{_bindir}/python3 %{_bindir}/python3
%{_bindir}/python%{pybasever} %{_bindir}/python%{pybasever}
%{_mandir}/*/* %{_mandir}/*/*
%files libs
%defattr(-,root,root,-)
%doc LICENSE README
%dir %{pylibdir} %dir %{pylibdir}
%dir %{dynload_dir} %dir %{dynload_dir}
%{dynload_dir}/Python-%{version}%{alphatag}-py%{pybasever}.egg-info %{dynload_dir}/Python-%{version}%{alphatag}-py%{pybasever}.egg-info
@ -993,8 +999,6 @@ rm -fr %{buildroot}
%dir %{_includedir}/python%{pybasever} %dir %{_includedir}/python%{pybasever}
%{_includedir}/python%{pybasever}/%{_pyconfig_h} %{_includedir}/python%{pybasever}/%{_pyconfig_h}
%files libs
%defattr(-,root,root,-)
%{_libdir}/%{py_INSTSONAME_optimized} %{_libdir}/%{py_INSTSONAME_optimized}
%if 0%{?with_systemtap} %if 0%{?with_systemtap}
%{tapsetdir}/%{libpython_stp_optimized} %{tapsetdir}/%{libpython_stp_optimized}
@ -1064,6 +1068,7 @@ rm -fr %{buildroot}
%{_bindir}/python3-debug %{_bindir}/python3-debug
%{_bindir}/python%{pybasever}-debug %{_bindir}/python%{pybasever}-debug
# Analog of the -libs subpackage's files:
# ...with debug builds of the built-in "extension" modules: # ...with debug builds of the built-in "extension" modules:
%{dynload_dir}/_bisect_d.so %{dynload_dir}/_bisect_d.so
%{dynload_dir}/_codecs_cn_d.so %{dynload_dir}/_codecs_cn_d.so
@ -1129,7 +1134,6 @@ rm -fr %{buildroot}
# do for the regular build above (bug 531901), since they're all in one package # do for the regular build above (bug 531901), since they're all in one package
# now; they're listed below, under "-devel": # now; they're listed below, under "-devel":
# Analog of the -libs subpackage's files:
%{_libdir}/%{py_INSTSONAME_debug} %{_libdir}/%{py_INSTSONAME_debug}
%if 0%{?with_systemtap} %if 0%{?with_systemtap}
%{tapsetdir}/%{libpython_stp_debug} %{tapsetdir}/%{libpython_stp_debug}
@ -1173,6 +1177,10 @@ rm -fr %{buildroot}
%changelog %changelog
* Thu Sep 9 2010 David Malcolm <dmalcolm@redhat.com> - 3.2-0.4.a1
- move most of the content of the core package to the libs subpackage, given
that the libs aren't meaningfully usable without the standard libraries
* Wed Sep 8 2010 David Malcolm <dmalcolm@redhat.com> - 3.2-0.3.a1 * Wed Sep 8 2010 David Malcolm <dmalcolm@redhat.com> - 3.2-0.3.a1
- Move test.support to core package (rhbz#596258) - Move test.support to core package (rhbz#596258)
- Add various missing __pycache__ directories to payload - Add various missing __pycache__ directories to payload