From ca5d71b3b078b02e326975bbe473ddd71aec8621 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 07:06:34 +0100 Subject: [PATCH] fixes to macros.meson patch [release 0.45.1-3mamba;Sun Apr 15 2018] --- meson-0.45.1-rpm-macros.path | 20 +++++++++++++++++--- meson.spec | 7 +++++-- 2 files changed, 22 insertions(+), 5 deletions(-) diff --git a/meson-0.45.1-rpm-macros.path b/meson-0.45.1-rpm-macros.path index 81029b3..9be3d81 100644 --- a/meson-0.45.1-rpm-macros.path +++ b/meson-0.45.1-rpm-macros.path @@ -1,5 +1,6 @@ ---- meson-0.45.1/data/macros.meson.orig 2018-03-22 15:23:16.000000000 +0100 -+++ meson-0.45.1/data/macros.meson 2018-03-29 15:53:59.659386285 +0200 +diff -Nru meson-0.45.1.orig/data/macros.meson meson-0.45.1/data/macros.meson +--- meson-0.45.1.orig/data/macros.meson 2018-03-22 15:23:16.000000000 +0100 ++++ meson-0.45.1/data/macros.meson 2018-04-15 08:13:43.129362331 +0200 @@ -2,11 +2,11 @@ %__meson_wrap_mode nodownload @@ -17,7 +18,7 @@ %{__meson} \\\ --buildtype=plain \\\ --prefix=%{_prefix} \\\ -@@ -23,7 +23,7 @@ +@@ -23,17 +23,17 @@ --localstatedir=%{_localstatedir} \\\ --sharedstatedir=%{_sharedstatedir} \\\ --wrap-mode=%{__meson_wrap_mode} \\\ @@ -26,3 +27,16 @@ %{nil} %meson_build \ +- %ninja_build -C %{_vpath_builddir} ++ ninja -C build + + %meson_install \ +- %ninja_install -C %{_vpath_builddir} ++ ninja install -C build + + %meson_test \ +- %ninja_test -C %{_vpath_builddir} || \ ++ ninja test -C build || \ + ( rc=$?; \ + echo "-----BEGIN TESTLOG-----"; \ + cat %{_vpath_builddir}/meson-logs/testlog.txt; \ diff --git a/meson.spec b/meson.spec index cf540c1..2ffccd5 100644 --- a/meson.spec +++ b/meson.spec @@ -1,6 +1,6 @@ Name: meson Version: 0.45.1 -Release: 2mamba +Release: 3mamba Summary: The Meson Build System Group: Development/Tools Vendor: openmamba @@ -27,7 +27,7 @@ The Meson Build System. %prep %setup -q -%patch0 -p1 +#%patch0 -p1 %build CFLAGS="%{optflags}" %{__python36} setup.py build @@ -56,6 +56,9 @@ install -D -m0644 data/macros.meson %{buildroot}%{_sysconfdir}/rpm/macros.meson %doc COPYING %changelog +* Sun Apr 15 2018 Silvan Calarco 0.45.1-3mamba +- fixes to macros.meson patch + * Thu Mar 29 2018 Silvan Calarco 0.45.1-2mamba - install rpm macros.meson file