From 816891a11e3a3b4a792b68257eff4af7df411064 Mon Sep 17 00:00:00 2001 From: Frantisek Sumsal Date: Tue, 9 Nov 2021 12:45:47 +0100 Subject: [PATCH] ci: drop patches from the C9S spec before using it --- .packit.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.packit.yml b/.packit.yml index 1b1809ab..dd3a1fa6 100644 --- a/.packit.yml +++ b/.packit.yml @@ -21,6 +21,8 @@ actions: - "git clone https://gitlab.com/redhat/centos-stream/rpms/dracut .packit_rpm --depth=1" # Drop the "sources" file so rebase-helper doesn't think we're a dist-git$ - "rm -fv .packit_rpm/sources" + # Drop all patches (since they're already applied in this repository) + - "sed -ri '/^Patch[0-9]+:/d' .packit_rpm/dracut.spec" # Available targets can be listed via `copr-cli list-chroots` jobs: