Move test.support module to python3-test subpackage
More info: https://fedoraproject.org/wiki/Changes/Move_test.support_module_to_python3-test_subpackage
This commit is contained in:
parent
337d3348c9
commit
a664336af9
30
python3.spec
30
python3.spec
|
@ -17,7 +17,7 @@ URL: https://www.python.org/
|
|||
#global prerel ...
|
||||
%global upstream_version %{general_version}%{?prerel}
|
||||
Version: %{general_version}%{?prerel:~%{prerel}}
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
License: Python
|
||||
|
||||
|
||||
|
@ -1135,20 +1135,6 @@ CheckPython optimized
|
|||
%{pylibdir}/ensurepip/_bundled/*.whl
|
||||
%endif
|
||||
|
||||
# The majority of the test module lives in the test subpackage
|
||||
# However test.support is in libs - it contains stuff used when testing your code
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=596258
|
||||
%if %{without flatpackage}
|
||||
%dir %{pylibdir}/test/
|
||||
%dir %{pylibdir}/test/__pycache__/
|
||||
%dir %{pylibdir}/test/support/
|
||||
%dir %{pylibdir}/test/support/__pycache__/
|
||||
%{pylibdir}/test/__init__.py
|
||||
%{pylibdir}/test/__pycache__/__init__%{bytecode_suffixes}
|
||||
%{pylibdir}/test/support/*.py
|
||||
%{pylibdir}/test/support/__pycache__/*%{bytecode_suffixes}
|
||||
%endif
|
||||
|
||||
%dir %{pylibdir}/concurrent/
|
||||
%dir %{pylibdir}/concurrent/__pycache__/
|
||||
%{pylibdir}/concurrent/*.py
|
||||
|
@ -1408,16 +1394,6 @@ CheckPython optimized
|
|||
%{pylibdir}/tkinter/test
|
||||
%{pylibdir}/unittest/test
|
||||
|
||||
# stuff already owned by the libs subpackage
|
||||
# test requires libs, so we are safe not owning those dirs
|
||||
%if %{without flatpackage}
|
||||
%exclude %dir %{pylibdir}/test/
|
||||
%exclude %dir %{pylibdir}/test/__pycache__/
|
||||
%exclude %{pylibdir}/test/__init__.py
|
||||
%exclude %{pylibdir}/test/__pycache__/__init__%{bytecode_suffixes}
|
||||
%exclude %{pylibdir}/test/support/
|
||||
%endif
|
||||
|
||||
# We don't bother splitting the debug build out into further subpackages:
|
||||
# if you need it, you're probably a developer.
|
||||
|
||||
|
@ -1557,6 +1533,10 @@ CheckPython optimized
|
|||
# ======================================================
|
||||
|
||||
%changelog
|
||||
* Mon Jul 15 2019 Lumír Balhar <lbalhar@redhat.com> - 3.7.4-3
|
||||
- Move test.support module to python3-test subpackage
|
||||
https://fedoraproject.org/wiki/Changes/Move_test.support_module_to_python3-test_subpackage
|
||||
|
||||
* Fri Jul 12 2019 Miro Hrončok <mhroncok@redhat.com> - 3.7.4-2
|
||||
- https://fedoraproject.org/wiki/Changes/Python_means_Python3
|
||||
- The python-unversioned-command package is no longer Python 2, but 3
|
||||
|
|
Loading…
Reference in New Issue