From d2edfe33edd38a16e0dad7aed33789ffa120710e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Sun, 18 Aug 2019 09:55:11 +0200 Subject: [PATCH] Add -I/usr/include/libassuan2 This allows the package to build. --- gpgme.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gpgme.spec b/gpgme.spec index 2e74302..d46e2d1 100644 --- a/gpgme.spec +++ b/gpgme.spec @@ -128,6 +128,8 @@ sed -i -e 's|^libdir=@libdir@$|libdir=@exec_prefix@/lib|g' src/gpgme-config.in %build # People neeed to learn that you can't run autogen.sh anymore #./autogen.sh +# Use -I... directly because of https://bugzilla.redhat.com/show_bug.cgi?id=1742986 +CFLAGS="%{optflags} -I/usr/include/libassuan2" %configure --disable-static --disable-silent-rules --enable-languages=cpp,qt,python %make_build