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