From d9fa2be4a7ad36ed9b9933296ce40dbc765dbaed Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Mon, 25 Oct 2021 18:18:46 -0400 Subject: [PATCH] Use %%python3 macro instead of %%__python3 --- gn.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gn.spec b/gn.spec index 98bf5ae..93b6d9e 100644 --- a/gn.spec +++ b/gn.spec @@ -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 # distribution’s 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