Add patch for libxcrypt

This commit is contained in:
Björn Esser 2018-01-22 21:10:32 +01:00
commit 5ea7bf417d
No known key found for this signature in database
GPG key ID: F52E98007594C21D
2 changed files with 58 additions and 1 deletions

View file

@ -14,7 +14,7 @@ URL: https://www.python.org/
# WARNING When rebasing to a new Python version,
# remember to update the python3-docs package as well
Version: %{pybasever}.4
Release: 6%{?dist}
Release: 7%{?dist}
License: Python
@ -359,6 +359,12 @@ Patch274: 00274-fix-arch-names.patch
# Fixed upstream: https://bugs.python.org/issue32521
Patch289: 00289-fix-nis-compilation.patch
# 00290 #
# Not every target system may provide a crypt() function in its stdlibc
# and may use an external or replacement library, like libxcrypt, for
# providing such functions.
Patch290: 00290-cryptmodule-Include-crypt.h-for-declaration-of-crypt.patch
# (New patches go here ^^^)
#
# When adding new patches to "python" and "python3" in Fedora, EL, etc.,
@ -625,6 +631,7 @@ sed -r -i s/'_PIP_VERSION = "[0-9.]+"'/'_PIP_VERSION = "%{pip_version}"'/ Lib/en
%patch273 -p1
%patch274 -p1
%patch289 -p1
%patch290 -p1
# Remove files that should be generated by the build
@ -1489,6 +1496,9 @@ fi
# ======================================================
%changelog
* Mon Jan 22 2018 Björn Esser <besser82@fedoraproject.org> - 3.6.4-7
- Add patch for libxcrypt
* Sat Jan 20 2018 Björn Esser <besser82@fedoraproject.org> - 3.6.4-6
- Rebuilt for switch to libxcrypt