From 1a57bbd67cd9bc2644ea901d2e42e72b2a15922b Mon Sep 17 00:00:00 2001 From: basebuilder_pel7ppc64bebuilder0 Date: Mon, 8 Apr 2019 10:18:37 +0200 Subject: [PATCH] meson change python build commands Signed-off-by: basebuilder_pel7ppc64bebuilder0 --- SPECS/meson.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SPECS/meson.spec b/SPECS/meson.spec index d75295dc..25f72bbd 100644 --- a/SPECS/meson.spec +++ b/SPECS/meson.spec @@ -33,10 +33,10 @@ find -type f -name '*.py' -executable -exec sed -i -e '1s|.*|#!%{__python3}|' {} sed -i -e "/^%%__meson /s| .*$| %{_bindir}/%{name}|" data/macros.%{name} %build -%py3_build +%{__python3} setup.py build %install -%py3_install +%{__python3} setup.py install --root %{buildroot} --optimize 2 install -Dpm0644 data/macros.%{name} %{buildroot}/usr/lib/rpm/macros.d/macros.%{name} %files