summaryrefslogtreecommitdiffstats
path: root/.packit.yml
diff options
context:
space:
mode:
authorFrantisek Sumsal <frantisek@sumsal.cz>2023-07-14 12:38:41 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2023-07-14 13:47:19 +0200
commitf1adb4a2ea2fd1d54ff8cc17a4d10f2b502cfc69 (patch)
tree9eda0f0385f2958720abb90368701a189839c395 /.packit.yml
parentkernel-install: Avoid reopening file descriptor via /proc (diff)
downloadsystemd-f1adb4a2ea2fd1d54ff8cc17a4d10f2b502cfc69.tar.xz
systemd-f1adb4a2ea2fd1d54ff8cc17a4d10f2b502cfc69.zip
packit: temporarily use older Rawhide spec
Until [0] is deployed to production. [0] https://github.com/packit/specfile/commit/2bdcec3db5cbee5e1f61fd578edd6a3393afd787
Diffstat (limited to '.packit.yml')
-rw-r--r--.packit.yml8
1 files changed, 7 insertions, 1 deletions
diff --git a/.packit.yml b/.packit.yml
index 1b49ddf284..e829ebbb1f 100644
--- a/.packit.yml
+++ b/.packit.yml
@@ -18,7 +18,13 @@ srpm_build_deps: []
actions:
post-upstream-clone:
# Use the Fedora Rawhide specfile
- - "git clone https://src.fedoraproject.org/rpms/systemd .packit_rpm --depth=1"
+ - "git clone https://src.fedoraproject.org/rpms/systemd .packit_rpm"
+ # FIXME: temporarily use older specfile that works with Packit
+ #
+ # This should be safe to drop after 2023-07-18 when [0] should be deployed
+ # to production
+ # [0] https://github.com/packit/specfile/commit/2bdcec3db5cbee5e1f61fd578edd6a3393afd787
+ - "bash -xec '(cd .packit_rpm && git checkout 9c05b44a4b8922cdd4671298107e067302509afc)'"
# 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