From aff9626fc09e8f6940cd8b0ce3be02ece7043978 Mon Sep 17 00:00:00 2001 From: Daan De Meyer Date: Tue, 25 Feb 2025 12:01:53 +0100 Subject: [PATCH] packit: Switch to meson.version for the current version (cherry picked from commit 6a558625162591b34f6daf7e8878d79f78e3e8be) --- .packit.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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 -- 2.47.3