]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
packit: Use same specfile revision as mkosi uses
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Wed, 19 Mar 2025 10:03:05 +0000 (11:03 +0100)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Wed, 19 Mar 2025 12:01:17 +0000 (13:01 +0100)
.packit.yml

index 92c78a5b1efdbaeabf49593f484ef3e91ba309f8..5c3af675051783408efcde5dff7f80a9b543b401 100644 (file)
@@ -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'