mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-03 01:17:45 +03:00
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.
This commit is contained in:
parent
59b8635a33
commit
72ae959efd
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user