FTBFS: 'python' is not on $PATH on F29+
Version: 10.4-5
This commit is contained in:
parent
07daa8e53a
commit
db5a549f53
@ -505,7 +505,7 @@ make distclean
|
|||||||
|
|
||||||
%endif # %%plpython3
|
%endif # %%plpython3
|
||||||
|
|
||||||
unset PYTHON
|
PYTHON=/usr/bin/python2
|
||||||
|
|
||||||
# Normal (python2) build begins here
|
# Normal (python2) build begins here
|
||||||
%configure $common_configure_options \
|
%configure $common_configure_options \
|
||||||
@ -513,6 +513,8 @@ unset PYTHON
|
|||||||
--with-python
|
--with-python
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
unset PYTHON
|
||||||
|
|
||||||
make %{?_smp_mflags} world
|
make %{?_smp_mflags} world
|
||||||
|
|
||||||
# Have to hack makefile to put correct path into tutorial scripts
|
# Have to hack makefile to put correct path into tutorial scripts
|
||||||
@ -596,6 +598,7 @@ upgrade_configure ()
|
|||||||
# its ideas about installation paths.
|
# its ideas about installation paths.
|
||||||
|
|
||||||
# The -fno-aggressive-loop-optimizations is hack for #993532
|
# The -fno-aggressive-loop-optimizations is hack for #993532
|
||||||
|
PYTHON="${PYTHON-/usr/bin/python2}" \
|
||||||
CFLAGS="$CFLAGS -fno-aggressive-loop-optimizations" ./configure \
|
CFLAGS="$CFLAGS -fno-aggressive-loop-optimizations" ./configure \
|
||||||
--build=%{_build} \
|
--build=%{_build} \
|
||||||
--host=%{_host} \
|
--host=%{_host} \
|
||||||
@ -634,7 +637,7 @@ upgrade_configure ()
|
|||||||
make %{?_smp_mflags} all
|
make %{?_smp_mflags} all
|
||||||
make -C contrib %{?_smp_mflags} all
|
make -C contrib %{?_smp_mflags} all
|
||||||
popd
|
popd
|
||||||
%endif
|
%endif # %%upgrade
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -1199,6 +1202,7 @@ make -C postgresql-setup-%{setup_version} check
|
|||||||
%changelog
|
%changelog
|
||||||
* Mon Jul 09 2018 Pavel Raiskup <praiskup@redhat.com> - 10.4-5
|
* Mon Jul 09 2018 Pavel Raiskup <praiskup@redhat.com> - 10.4-5
|
||||||
- re-enable -O3 for 64bit PPC boxes
|
- re-enable -O3 for 64bit PPC boxes
|
||||||
|
- explicitly set PYTHON=python2, /bin/python doesn't exist fc29+
|
||||||
|
|
||||||
* Tue Jul 03 2018 Petr Pisar <ppisar@redhat.com> - 10.4-4
|
* Tue Jul 03 2018 Petr Pisar <ppisar@redhat.com> - 10.4-4
|
||||||
- Perl 5.28 rebuild
|
- Perl 5.28 rebuild
|
||||||
|
Loading…
Reference in New Issue
Block a user