From a4d136e22a3847dad0977007f7e8caf851551685 Mon Sep 17 00:00:00 2001 From: Zbigniew Jędrzejewski-Szmek Date: Feb 24 2022 07:56:56 +0000 Subject: Add workaround for audit breakage --- diff --git a/systemd.spec b/systemd.spec index 608d410..fc5c36c 100644 --- a/systemd.spec +++ b/systemd.spec @@ -447,6 +447,10 @@ test -f src/login/systemd-user.in # We'll systemd process it and install in the right place. cp %{SOURCE12} src/login/systemd-user.in +# Workaround for https://bugzilla.redhat.com/show_bug.cgi?id=2057735 +cp /usr/include/linux/audit.h src/systemd/ +sed -r -i "s|generate_audit_type_list, cpp|& + ' -I/usr/include/linux'|" src/libsystemd/meson.build + %build %global ntpvendor %(source /etc/os-release; echo ${ID}) %{!?ntpvendor: echo 'NTP vendor zone is not set!'; exit 1}