Browse Source

meson move to full python3 statements

Signed-off-by: basebuilder_pel7ppc64lebuilder0 <basebuilder@powerel.org>
master
basebuilder_pel7ppc64lebuilder0 5 years ago
parent
commit
207bb8c89b
  1. 4
      SPECS/meson.spec

4
SPECS/meson.spec

@ -85,10 +85,10 @@ find -type f -name '*.py' -executable -exec sed -i -e '1s|.*|#!%{__python3}|' {} @@ -85,10 +85,10 @@ find -type f -name '*.py' -executable -exec sed -i -e '1s|.*|#!%{__python3}|' {}
rm -rf "test cases/frameworks/17 mpi"

%build
%py3_build
%{__python3} setup.py build

%install
%py3_install
%{__python3} setup.py install --optimize 2 --root %{buildroot}
install -Dpm0644 data/macros.%{name} %{buildroot}/usr/lib//rpm/macros.d/macros.%{name}

%if %{with check}

Loading…
Cancel
Save