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 66a03df063
commit e99f00f29d
1 changed files with 7 additions and 3 deletions

View File

@ -125,7 +125,7 @@ Name: python3
# WARNING When rebasing to a new Python version,
# remember to update the python3-docs package as well
Version: %{pybasever}.4
Release: 5%{?dist}
Release: 6%{?dist}
License: Python
Group: Development/Languages
@ -965,9 +965,9 @@ for PyIncludeDir in %{PyIncludeDirs} ; do
#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
@ -1674,6 +1674,10 @@ fi
# ======================================================
%changelog
* Sat Mar 24 2018 Miro Hrončok <mhroncok@redhat.com> - 3.6.4-6
- 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-5
- Add -n option for pathfix.py
Resolves: rhbz#1546990