From: Thomas Weißschuh Date: Sat, 7 Jan 2023 13:58:17 +0000 (+0000) Subject: ci: packit: enable -Werror X-Git-Tag: v2.39-rc1~180 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6b23e2677de2f4e235728083bddea8c4820a1881;p=thirdparty%2Futil-linux.git ci: packit: enable -Werror --- 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