]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
packit: drop unnumbered patches as well
authorFrantisek Sumsal <frantisek@sumsal.cz>
Thu, 17 Feb 2022 13:02:04 +0000 (14:02 +0100)
committerFrantisek Sumsal <frantisek@sumsal.cz>
Thu, 17 Feb 2022 14:45:41 +0000 (14:45 +0000)
.packit.yml

index 6a3b8a078ce30c0fedb6cb64b0904a142b8217b1..438b37507e1e197c7b90d7472cac6d6fd612fb47 100644 (file)
@@ -21,9 +21,9 @@ actions:
     # Drop the "sources" file so rebase-helper doesn't think we're a dist-git
     - "rm -fv .packit_rpm/sources"
     # Drop backported patches from the specfile, but keep the downstream-only ones
-    # - Patch0000-0499: backported patches from upstream
+    # - Patch(0000-0499): backported patches from upstream
     # - Patch0500-9999: downstream-only patches
-    - "sed -ri '/^Patch0[0-4]?[0-9]{0,2}\\:.+\\.patch/d' .packit_rpm/systemd.spec"
+    - "sed -ri '/^Patch(0[0-4]?[0-9]{0,2})?\\:.+\\.patch/d' .packit_rpm/systemd.spec"
     # Build the RPM with --werror. Even though --werror doesn't work in all
     # cases (see [0]), we can't use -Dc_args=/-Dcpp_args= here because of the
     # RPM hardening macros, that use $CFLAGS/$CPPFLAGS (see [1]).