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