mirror of
https://github.com/arabianq/pipewire-soundpad.git
synced 2026-06-19 12:13:32 +00:00
packages(rpm): update version macro to use git describe for accurate versioning
This commit is contained in:
@@ -6,7 +6,7 @@
|
|||||||
%global debug_package %{nil}
|
%global debug_package %{nil}
|
||||||
|
|
||||||
Name: pwsp-git
|
Name: pwsp-git
|
||||||
Version: {{{ git_dir_version name=v }}}
|
Version: {{{ git describe --tags --always | sed 's/^v//' | sed -E 's/-([0-9]+)-(g[0-9a-f]+)/^git.\1.\2/' }}}
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Lets you play audio files through your microphone (git version)
|
Summary: Lets you play audio files through your microphone (git version)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user