]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
ci: packit: enable -Werror
authorThomas Weißschuh <thomas@t-8ch.de>
Sat, 7 Jan 2023 13:58:17 +0000 (13:58 +0000)
committerThomas Weißschuh <thomas@t-8ch.de>
Sun, 8 Jan 2023 16:28:48 +0000 (16:28 +0000)
.packit.yaml

index 8590d933d71544c9237c008904944885e878de21..216e521d18559cca43dfdb49d94bd51f198c4039 100644 (file)
@@ -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