From 90512a5a1b6bb4e54449a0e3611482e6a55a8ab3 Mon Sep 17 00:00:00 2001 From: Miro HronĨok Date: Mar 20 2018 10:28:40 +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 41594dd..e96ccf7 100644 --- a/python3.spec +++ b/python3.spec @@ -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