ci: Make Packit ignore downstream patches

We don't really carry "Fedora-only" patches in dist-git. So we want to
nuke all the patches which exist there.

Follow-up to #2210.
This commit is contained in:
Jonathan Lebon 2020-10-07 15:04:17 -04:00
parent 84f8de6daa
commit ee632e4968

View File

@ -8,4 +8,7 @@ jobs:
specfile_path: ostree.spec
actions:
# https://packit.dev/faq/#how-can-i-download-rpm-spec-file-if-it-is-not-part-of-upstream-repository
post-upstream-clone: "wget https://src.fedoraproject.org/rpms/ostree/raw/master/f/ostree.spec"
post-upstream-clone:
- "wget https://src.fedoraproject.org/rpms/ostree/raw/master/f/ostree.spec"
# we don't want any downstream patches
- "sed -ie 's/^Patch/# Patch/g' ostree.spec"