Fix broken macro invocation and broken building of C Python extensions

Revert "Use %% for actual % in spec"

This reverts commit 90512a5a1b.

Resolves https://bugzilla.redhat.com/show_bug.cgi?id=1560103
This commit is contained in:
Miro Hrončok 2018-03-24 08:02:08 +01:00 committed by Charalampos Stratakis
parent 23b7cdc7ee
commit f124ad4c93

View File

@ -14,7 +14,7 @@ URL: https://www.python.org/
# WARNING When rebasing to a new Python version, # WARNING When rebasing to a new Python version,
# remember to update the python3-docs package as well # remember to update the python3-docs package as well
Version: %{pybasever}.4 Version: %{pybasever}.4
Release: 11%{?dist} Release: 12%{?dist}
License: Python License: Python
@ -806,9 +806,9 @@ InstallPython() {
#include <bits/wordsize.h> #include <bits/wordsize.h>
#if __WORDSIZE == 32 #if __WORDSIZE == 32
#include "%%{_pyconfig32_h}" #include "%{_pyconfig32_h}"
#elif __WORDSIZE == 64 #elif __WORDSIZE == 64
#include "%%{_pyconfig64_h}" #include "%{_pyconfig64_h}"
#else #else
#error "Unknown word size" #error "Unknown word size"
#endif #endif
@ -1486,6 +1486,10 @@ fi
# ====================================================== # ======================================================
%changelog %changelog
* Sat Mar 24 2018 Miro Hrončok <mhroncok@redhat.com> - 3.6.4-12
- Fix broken macro invocation and broken building of C Python extensions
Resolves: rhbz#1560103
* Fri Mar 16 2018 Miro Hrončok <mhroncok@redhat.com> - 3.6.4-11 * Fri Mar 16 2018 Miro Hrončok <mhroncok@redhat.com> - 3.6.4-11
- Add -n option for pathfix.py - Add -n option for pathfix.py
Resolves: rhbz#1546990 Resolves: rhbz#1546990