diff --git a/anda/tools/buildsys/muon/muon.spec b/anda/tools/buildsys/muon/muon.spec index 885182d4dc..786fe50334 100644 --- a/anda/tools/buildsys/muon/muon.spec +++ b/anda/tools/buildsys/muon/muon.spec @@ -6,9 +6,10 @@ Summary: A meson-compatible build system # muon is licensed under the GPL version 3 (see LICENSE). Tests under tests/project were copied from the meson project tests and are licensed under Apache 2.0. License: GPL-3.0 AND Apache-2.0 URL: https://muon.build/ -Source: https://muon.build/releases/v%version/muon-v%version.tar.gz +Source: https://git.sr.ht/~lattis/muon/archive/%version.tar.gz -BuildRequires: meson +# we need meson for the macros +BuildRequires: meson ninja-build BuildRequires: gcc BuildRequires: cmake BuildRequires: libcurl-devel @@ -24,11 +25,9 @@ An implementation of the meson build system in c99 with minimal dependencies. %autosetup %build -./bootstrap.sh build-stage1 -build-stage1/muon setup build-stage2 -ninja -C build-stage2 +./bootstrap.sh build -%global __meson build-stage2/muon +%global __meson ./build/muon %meson %meson_build