From 030f5d7e9d928e1ea82f3b4332a9beb3a30a134d Mon Sep 17 00:00:00 2001 From: Raboneko <119771935+raboneko@users.noreply.github.com> Date: Fri, 14 Feb 2025 03:42:02 -0800 Subject: [PATCH] audacity-freeworld: fix version string (#3340) (#3347) (cherry picked from commit b26314b) (cherry picked from commit f45f3e5d9d99a05b00041bb8a925566c7c6e7704) Co-authored-by: sadlerm4 --- anda/apps/audacity-freeworld/audacity-freeworld.spec | 5 ++++- anda/apps/audacity-freeworld/update.rhai | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/anda/apps/audacity-freeworld/audacity-freeworld.spec b/anda/apps/audacity-freeworld/audacity-freeworld.spec index e81def5049..fc95df1a8c 100644 --- a/anda/apps/audacity-freeworld/audacity-freeworld.spec +++ b/anda/apps/audacity-freeworld/audacity-freeworld.spec @@ -1,8 +1,11 @@ %global __requires_exclude ^lib-.*.so %global __provides_exclude ^lib-.*.so +%global ver Audacity-3.7.1 +%global sanitized_ver %(echo "$( sed 's/Audacity-//' <<< "%{ver}" )") + Name: audacity-freeworld -Version: Audacity.3.7.1 +Version: %{sanitized_ver} Release: 1%?dist Summary: Multitrack audio editor License: GPLv2 diff --git a/anda/apps/audacity-freeworld/update.rhai b/anda/apps/audacity-freeworld/update.rhai index df02511f9f..1126f910b0 100644 --- a/anda/apps/audacity-freeworld/update.rhai +++ b/anda/apps/audacity-freeworld/update.rhai @@ -1 +1 @@ -rpm.version(gh("audacity/audacity")); \ No newline at end of file +rpm.version(gh_tag("audacity/audacity")); \ No newline at end of file