| |
@@ -14,7 +14,7 @@
|
| |
# WARNING When rebasing to a new Python version,
|
| |
# remember to update the python3-docs package as well
|
| |
Version: %{pybasever}.1
|
| |
- Release: 4%{?dist}
|
| |
+ Release: 5%{?dist}
|
| |
License: Python
|
| |
|
| |
|
| |
@@ -627,6 +627,10 @@
|
| |
|
| |
%prep
|
| |
%setup -q -n Python-%{version}%{?prerel}
|
| |
+ # Remove all exe files to ensure we are not shipping prebuilt binaries
|
| |
+ # note that those are only used to create Microsoft Windows installers
|
| |
+ # and that functionality is broken on Linux anyway
|
| |
+ find -name '*.exe' -print -delete
|
| |
|
| |
# Remove bundled libraries to ensure that we're using the system copy.
|
| |
rm -r Modules/expat
|
| |
@@ -1283,7 +1287,6 @@
|
| |
%{pylibdir}/distutils/__pycache__/*%{bytecode_suffixes}
|
| |
%{pylibdir}/distutils/README
|
| |
%{pylibdir}/distutils/command
|
| |
- %exclude %{pylibdir}/distutils/command/wininst-*.exe
|
| |
|
| |
%dir %{pylibdir}/email/
|
| |
%dir %{pylibdir}/email/__pycache__/
|
| |
@@ -1353,7 +1356,6 @@
|
| |
%exclude %{pylibdir}/config-%{LDVERSION_optimized}-%{_arch}-linux%{_gnu}/Makefile
|
| |
%exclude %{_includedir}/python%{LDVERSION_optimized}/%{_pyconfig_h}
|
| |
%endif
|
| |
- %{pylibdir}/distutils/command/wininst-*.exe
|
| |
%{_includedir}/python%{LDVERSION_optimized}/*.h
|
| |
%doc Misc/README.valgrind Misc/valgrind-python.supp Misc/gdbinit
|
| |
|
| |
@@ -1575,6 +1577,9 @@
|
| |
# ======================================================
|
| |
|
| |
%changelog
|
| |
+ * Fri Dec 07 2018 Miro Hrončok <mhroncok@redhat.com> - 3.7.1-5
|
| |
+ - Make sure we don't ship any exe files (not needed an prebuilt)
|
| |
+
|
| |
* Wed Nov 21 2018 Miro Hrončok <mhroncok@redhat.com> - 3.7.1-4
|
| |
- Make sure the entire test.support module is in python3-libs (#1651245)
|
| |
|
| |
Such files are only used to create Microsoft Windows installers
and that functionality is broken on Linux anyway.
We can keep the exe files in SRPM, as they are free software as
confirmed by the Python Software Foundation:
(Untested. Wait for the CI.)