From e8fa184158dfa253cf88fbac86a18cfb82046ca9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Sat, 24 Mar 2018 08:02:08 +0100 Subject: [PATCH] Fix broken macro invocation and broken building of C Python extensions Revert "Use %% for actual % in spec" This reverts commit 90512a5a1b6bb4e54449a0e3611482e6a55a8ab3. Resolves https://bugzilla.redhat.com/show_bug.cgi?id=1560103 --- python3.spec | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/python3.spec b/python3.spec index e96ccf7..8c9dacd 100644 --- a/python3.spec +++ b/python3.spec @@ -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: 19%{?dist} +Release: 20%{?dist} License: Python @@ -884,9 +884,9 @@ InstallPython() { #include #if __WORDSIZE == 32 -#include "%%{_pyconfig32_h}" +#include "%{_pyconfig32_h}" #elif __WORDSIZE == 64 -#include "%%{_pyconfig64_h}" +#include "%{_pyconfig64_h}" #else #error "Unknown word size" #endif @@ -1520,6 +1520,10 @@ CheckPython optimized # ====================================================== %changelog +* Sat Mar 24 2018 Miro Hrončok - 3.6.4-20 +- Fix broken macro invocation and broken building of C Python extensions +Resolves: rhbz#1560103 + * Fri Mar 16 2018 Miro Hrončok - 3.6.4-19 - Add -n option for pathfix.py Resolves: rhbz#1546990