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:
# - 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