Drop hardcoded python2 from %py_build

This commit is contained in:
Miro Hrončok 2019-10-02 16:20:57 +02:00
parent dee3401a7e
commit d4418433fa
2 changed files with 2 additions and 1 deletions

View File

@ -2,7 +2,7 @@
%py_shbang_opts -s
%py_build() %{expand:\
CFLAGS="%{optflags}" %{__python} %{py_setup} %{?py_setup_args} build --executable="%{__python2} %{py_shbang_opts}" %{?1}\
CFLAGS="%{optflags}" %{__python} %{py_setup} %{?py_setup_args} build --executable="%{__python} %{py_shbang_opts}" %{?1}\
}
%py_install() %{expand:\

View File

@ -67,6 +67,7 @@ install -m 644 %{SOURCE0} %{SOURCE1} %{SOURCE2} %{SOURCE3} %{SOURCE5} \
%changelog
* Fri Sep 27 2019 Miro Hrončok <mhroncok@redhat.com> - 3-15
- Define %%python2 and %%python3
- Drop hardcoded python2 from %%py_build
* Wed Mar 06 2019 Carl George <carl@george.computer> - 3-14
- Move macros.pybytecompile in here from python3X-devel