Use %%python3 macro instead of %%__python3

epel9
Benjamin A. Beasley 3 years ago
parent 5e56c1e7b9
commit 4773f3c399

@ -109,7 +109,7 @@ AR='gcc-ar'; export AR
# Both --use-icf and --use-lto add compiler flags that only work with clang++,
# not with g++. We do get LTO on Fedora anyway, since we respect the
# distributions build flags.
%{__python3} build/gen.py \
%{python3} build/gen.py \
--no-last-commit-position \
--no-strip \
--no-static-libstdc++
@ -141,7 +141,7 @@ install -d '%{buildroot}%{_datadir}/vim/vimfiles'
cp -vrp misc/vim/* '%{buildroot}%{_datadir}/vim/vimfiles'
find '%{buildroot}%{_datadir}/vim/vimfiles' \
-type f -name 'README.*' -print -delete
%py_byte_compile %{__python3} '%{buildroot}%{_datadir}/vim/vimfiles/gn-format.py'
%py_byte_compile %{python3} '%{buildroot}%{_datadir}/vim/vimfiles/gn-format.py'
install -t '%{buildroot}%{_emacs_sitestartdir}' -D -p -m 0644 misc/emacs/*.el

Loading…
Cancel
Save