From: Daan De Meyer Date: Tue, 25 Feb 2025 11:01:53 +0000 (+0100) Subject: packit: Switch to meson.version for the current version X-Git-Tag: v257.4~34 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=aff9626fc09e8f6940cd8b0ce3be02ece7043978;p=thirdparty%2Fsystemd.git packit: Switch to meson.version for the current version (cherry picked from commit 6a558625162591b34f6daf7e8878d79f78e3e8be) --- diff --git a/.packit.yml b/.packit.yml index 697defd3e72..37bf55a0cbc 100644 --- a/.packit.yml +++ b/.packit.yml @@ -14,11 +14,7 @@ srpm_build_deps: [] actions: get-current-version: - # Show the closest matching tag for the checked out revision, otherwise - # Packit tries to get the latest tag by creation date, which doesn't work - # well in the systemd-stable repo. We also need to sanitize it manually - # since "upstream_tag_template" defined above doesn't apply here. - - "bash -ec 'git describe --tags --abbrev=0 | cut -b 2-'" + - cat meson.version post-upstream-clone: # Use the Fedora Rawhide specfile