[packages/pango] use new meson macros

atler atler at pld-linux.org
Thu Mar 13 04:02:02 CET 2025


commit cfdc1626c2c04b2a6e3fb1776283dfad7ce2cfb6
Author: Jan Palus <atler at pld-linux.org>
Date:   Thu Mar 13 02:16:05 2025 +0100

    use new meson macros

 pango.spec | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/pango.spec b/pango.spec
index d5bfeef..48831a5 100644
--- a/pango.spec
+++ b/pango.spec
@@ -35,7 +35,7 @@ BuildRequires:	ninja >= 1.5
 BuildRequires:	perl-base
 BuildRequires:	pkgconfig
 BuildRequires:	rpm-build >= 4.6
-BuildRequires:	rpmbuild(macros) >= 2.029
+BuildRequires:	rpmbuild(macros) >= 2.042
 %{?with_sysprof:BuildRequires:	sysprof-devel >= 3.38}
 BuildRequires:	tar >= 1:1.22
 BuildRequires:	xorg-lib-libX11-devel
@@ -143,20 +143,20 @@ pango - przykładowe programy.
 %setup -q
 
 %build
-%meson build \
+%meson \
 	%{!?with_static_libs:--default-library=shared} \
 	-Ddocumentation=%{__true_false apidocs} \
 	-Dintrospection=enabled \
 	-Dman-pages=%{__true_false apidocs} \
 	%{?with_sysprof:-Dsysprof=enabled}
 
-%ninja_build -C build
+%meson_build
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
-%ninja_install -C build
+%meson_install
 
 %if %{with apidocs}
 install -d $RPM_BUILD_ROOT%{_gidocdir}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/pango.git/commitdiff/ac247e26a4f93acc6cac4553a047d4c81a205a8d



More information about the pld-cvs-commit mailing list