From 33bcafe6d10ea90ad3345329e14bb9a347493c5d Mon Sep 17 00:00:00 2001 From: Daan De Meyer Date: Wed, 19 Mar 2025 11:03:05 +0100 Subject: [PATCH] packit: Use same specfile revision as mkosi uses --- .packit.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.packit.yml b/.packit.yml index 92c78a5b1ef..5c3af675051 100644 --- a/.packit.yml +++ b/.packit.yml @@ -19,6 +19,7 @@ actions: post-upstream-clone: # Use the Fedora Rawhide specfile - git clone https://src.fedoraproject.org/rpms/systemd .packit_rpm --depth=1 + - bash -c 'git -C .packit_rpm checkout "$(grep GIT_COMMIT= mkosi.images/build/mkosi.conf.d/centos-fedora/mkosi.conf | cut -d= -f2)"' - bash -c 'echo "%bcond upstream 1" > .packit_rpm/systemd.spec.new' - bash -c 'echo "%define meson_extra_configure_options --werror" >> .packit_rpm/systemd.spec.new' - bash -c 'cat .packit_rpm/systemd.spec >> .packit_rpm/systemd.spec.new' -- 2.47.3