summaryrefslogtreecommitdiff
path: root/.packit.yml
diff options
context:
space:
mode:
authorFrantisek Sumsal <frantisek@sumsal.cz>2021-01-28 22:27:18 +0100
committerYu Watanabe <watanabe.yu+github@gmail.com>2021-01-29 11:02:54 +0900
commit78dff3f3d72c62357543fe1716da3886cff54a10 (patch)
tree11359f0854dfd4c9d086e6805c76dde07e313f2b /.packit.yml
parent183d5168cf1d2bfbd3049e8592b4ed4c87c94936 (diff)
downloadsystemd-78dff3f3d72c62357543fe1716da3886cff54a10.tar.gz
ci: build the Fedora RPMs with -Werror
Diffstat (limited to '.packit.yml')
-rw-r--r--.packit.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/.packit.yml b/.packit.yml
index 70f6b5ddc6..0c3c17b9da 100644
--- a/.packit.yml
+++ b/.packit.yml
@@ -11,7 +11,7 @@ synced_files:
upstream_package_name: systemd
downstream_package_name: systemd
# `git describe` returns in systemd's case 'v245-xxx' which breaks RPM version
-# detection (that expects 245-xxxx'. Let's tweak the version string accordingly
+# detection (that expects 245-xxxx'). Let's tweak the version string accordingly
upstream_tag_template: "v{version}"
actions:
@@ -22,6 +22,8 @@ actions:
# - Patch0000-0499: backported patches from upstream
# - Patch0500-9999: downstream-only patches
- "sed -ri '/^Patch0[0-4][0-9]{2}+\\:.+\\.patch/d' .packit_rpm/systemd.spec"
+ # Build the RPMs with -Werror to catch possible compiler warnings
+ - "sed -i 's/^%meson /%meson --werror /' .packit_rpm/systemd.spec"
jobs:
- job: copr_build