diff options
| author | fundawang <fundawang@yeah.net> | 2024-07-18 23:41:42 +0800 |
|---|---|---|
| committer | Jussi Pakkanen <jpakkane@gmail.com> | 2025-01-08 12:17:03 +0200 |
| commit | 7a8a89aab24d7942569b47585ee8e2fddc5692a5 (patch) | |
| tree | 82212101af5e60bff51db6a39166501e9f144cf3 /data/macros.meson | |
| parent | 04067fcad7fbf6cfbf1b8656caa8ec51e217e321 (diff) | |
| download | meson-7a8a89aab24d7942569b47585ee8e2fddc5692a5.tar.gz | |
Add macros for declarative buildsystems of rpm >= 4.20
Diffstat (limited to 'data/macros.meson')
| -rw-r--r-- | data/macros.meson | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/data/macros.meson b/data/macros.meson index dcac9d985..597741092 100644 --- a/data/macros.meson +++ b/data/macros.meson @@ -45,3 +45,11 @@ --num-processes %{_smp_build_ncpus} \ --print-errorlogs \ %{nil}} + +# Declarative buildsystem, requires RPM 4.20+ to work +# https://rpm-software-management.github.io/rpm/manual/buildsystem.html +%buildsystem_meson_conf() %meson %* +%buildsystem_meson_generate_buildrequires() %{nil} +%buildsystem_meson_build() %meson_build %* +%buildsystem_meson_install() %meson_install %* +%buildsystem_meson_check() %meson_test %* |
