Fix broken macro invocation and broken building of C Python extensions

Revert "Use %% for actual % in spec"

This reverts commit acda1a219a.

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
parent 94ba907c0b
commit 3777cb5efa

View File

@ -18,7 +18,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}.0
Release: 0.12.%{?prerel}%{?dist}
Release: 0.13.%{?prerel}%{?dist}
License: Python
@ -853,9 +853,9 @@ InstallPython() {
#include <bits/wordsize.h>
#if __WORDSIZE == 32
#include "%%{_pyconfig32_h}"
#include "%{_pyconfig32_h}"
#elif __WORDSIZE == 64
#include "%%{_pyconfig64_h}"
#include "%{_pyconfig64_h}"
#else
#error "Unknown word size"
#endif
@ -1572,6 +1572,10 @@ CheckPython optimized
# ======================================================
%changelog
* Sat Mar 24 2018 Miro Hrončok <mhroncok@redhat.com> - 3.7.0-0.13.b2
- Fix broken macro invocation and broken building of C Python extensions
Resolves: rhbz#1560103
* Wed Feb 28 2018 Miro Hrončok <mhroncok@redhat.com> - 3.7.0-0.12.b2
- Update to 3.7.0b2