summaryrefslogtreecommitdiff
path: root/.packit.yml
diff options
context:
space:
mode:
authorFrantisek Sumsal <frantisek@sumsal.cz>2021-04-12 17:56:33 +0200
committerFrantisek Sumsal <frantisek@sumsal.cz>2021-04-12 18:10:04 +0200
commit72ae959efd01d306033f40d49e7ff515083f85f9 (patch)
treee786713c9d22c415bef562af59483a66743d48f2 /.packit.yml
parent59b8635a33a96ef380490be1d9c5640a753df667 (diff)
downloadsystemd-72ae959efd01d306033f40d49e7ff515083f85f9.tar.gz
packit: drop the 'sources' file after cloning the Fedora repo
Otherwise rebase-helper thinks we're are a dist-git repository, replacing the generated git archive with PR changes with the tarball found in the 'sources' file.
Diffstat (limited to '.packit.yml')
-rw-r--r--.packit.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/.packit.yml b/.packit.yml
index 75f9d3abc9..4545e30e08 100644
--- a/.packit.yml
+++ b/.packit.yml
@@ -18,6 +18,8 @@ actions:
post-upstream-clone:
# Use the Fedora Rawhide specfile
- "git clone https://src.fedoraproject.org/rpms/systemd .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 backported patches from the specfile, but keep the downstream-only ones
# - Patch0000-0499: backported patches from upstream
# - Patch0500-9999: downstream-only patches