From e73306ff642c46b358f57d3a7e0e7ddc79c537d1 Mon Sep 17 00:00:00 2001 From: Miro HronĨok Date: Mar 29 2018 14:17:44 +0000 Subject: Use %% for actual % in spec rpmlint reports this as macro in comment, however it was left here, because it is not macro and not comment. On the other hand, % shall be escaped using %%. All this needs to blow is somebody defining a macro called _pyconfig64_h. --- diff --git a/python3.spec b/python3.spec index 13be551..c57e7b3 100644 --- a/python3.spec +++ b/python3.spec @@ -806,9 +806,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