- the current guessing code is finding python2 and then uses that,

because python2 still seems to be available in the build env,
  as we already know which python version we want we can just pass
  the path to make and skip the whole guessing.

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=252
This commit is contained in:
Marcus Rückert 2019-04-26 19:01:16 +00:00 committed by Git OBS Bridge
parent 74753ea83f
commit 59df3c8ed7
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Fri Apr 26 19:00:00 UTC 2019 - Marcus Rueckert <mrueckert@suse.de>
- the current guessing code is finding python2 and then uses that,
because python2 still seems to be available in the build env,
as we already know which python version we want we can just pass
the path to make and skip the whole guessing.
-------------------------------------------------------------------
Fri Apr 26 12:40:14 UTC 2019 - FSchreiner@suse.com

View File

@ -204,7 +204,7 @@ resources and packages them.
%endif
%install
make install DESTDIR="%{buildroot}" PREFIX="%{_prefix}" SYSCFG="%{_sysconfdir}"
make install DESTDIR="%{buildroot}" PREFIX="%{_prefix}" SYSCFG="%{_sysconfdir}" PYTHON="%{_bindir}/%{use_python}"
%if %{with obs_scm_testsuite}
%if 0%{?suse_version} >= 1220