diff --git a/anda/tools/buildsys/muon/muon.spec b/anda/tools/buildsys/muon/muon.spec index b2b2789fb7..151d7eba2b 100644 --- a/anda/tools/buildsys/muon/muon.spec +++ b/anda/tools/buildsys/muon/muon.spec @@ -1,5 +1,5 @@ Name: muon -Version: 0.4.0 +Version: 0.3.1 Release: 1%?dist Summary: A meson-compatible build system @@ -15,6 +15,7 @@ BuildRequires: libcurl-devel BuildRequires: libarchive-devel BuildRequires: libpkgconf-devel BuildRequires: scdoc +BuildRequires: git-core %description An implementation of the meson build system in c99 with minimal dependencies. diff --git a/anda/tools/buildsys/muon/update.rhai b/anda/tools/buildsys/muon/update.rhai index 4425e2426d..61177c274a 100644 --- a/anda/tools/buildsys/muon/update.rhai +++ b/anda/tools/buildsys/muon/update.rhai @@ -1 +1,4 @@ -rpm.version(get("https://muon.build/releases/").json_arr().pop().name); +let versions = get("https://muon.build/releases/").json().keys(); +versions.sort(); +versions.pop(); +rpm.version(versions.pop());