Use %%python3 macro instead of %%__python3

epel8
Benjamin A. Beasley 3 years ago
parent afeddcf216
commit d9fa2be4a7

@ -111,7 +111,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++
@ -143,7 +143,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