[packages/lxc] New meson macros.
arekm
arekm at pld-linux.org
Tue Jul 15 15:19:14 CEST 2025
commit f6049596ef3328587fd5e5656fa5bd74fee531bf
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Tue Jul 15 15:18:58 2025 +0200
New meson macros.
lxc.spec | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/lxc.spec b/lxc.spec
index 556cc31..51ad4f8 100644
--- a/lxc.spec
+++ b/lxc.spec
@@ -163,7 +163,7 @@ cp -p %{SOURCE1} templates/lxc-pld.in
%{__sed} -i -e "/^pam_security =/ s!libdir,!'/', '%{_lib}',!" meson.build
%build
-%meson build \
+%meson \
%{!?with_apparmor:-Dapparmor=false} \
-Ddata-path=%{configpath} \
-Ddistrosysconfdir=/etc/sysconfig \
@@ -175,13 +175,13 @@ cp -p %{SOURCE1} templates/lxc-pld.in
%{!?with_selinux:-Dselinux=false} \
-Dsystemd-unitdir=%{systemdunitdir}
-%ninja_build -C build
+%meson_build
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT{%{configpath},%{configpath}snap,/var/log/lxc}
-%ninja_install -C build
+%meson_install
# keep compatible name
%{__mv} $RPM_BUILD_ROOT/etc/rc.d/init.d/{lxc-containers,lxc}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/lxc.git/commitdiff/f6049596ef3328587fd5e5656fa5bd74fee531bf
More information about the pld-cvs-commit
mailing list