From 6b23e2677de2f4e235728083bddea8c4820a1881 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Thomas=20Wei=C3=9Fschuh?= Date: Sat, 7 Jan 2023 13:58:17 +0000 Subject: [PATCH] ci: packit: enable -Werror --- .packit.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.packit.yaml b/.packit.yaml index 8590d933d7..216e521d18 100644 --- a/.packit.yaml +++ b/.packit.yaml @@ -31,6 +31,8 @@ actions: - "sed -i '/^### Macros/a%define _with_check 1' .packit_rpm/util-linux.spec" # Ignore unpackaged files - "sed -i '1 i%define _unpackaged_files_terminate_build 0' .packit_rpm/util-linux.spec" + # Enable -Werror + - "sed -i 's/^%configure /%configure --enable-werror /' .packit_rpm/util-linux.spec" create-archive: # We need to override the default create-archive action, since we need to tweak # the resulting tarball and add a .tarball-version file to it, otherwise -- 2.47.2