From: Daan De Meyer Date: Wed, 19 Mar 2025 10:03:05 +0000 (+0100) Subject: packit: Use same specfile revision as mkosi uses X-Git-Tag: v258-rc1~1040^2~7 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=33bcafe6d10ea90ad3345329e14bb9a347493c5d;p=thirdparty%2Fsystemd.git packit: Use same specfile revision as mkosi uses --- 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'