Skip to content

Commit

Permalink
packit: drop the 'sources' file after cloning the Fedora repo
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
mrc0mmand committed Apr 12, 2021
1 parent 59b8635 commit 72ae959
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .packit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 72ae959

Please sign in to comment.