mirror of
https://abf.rosa.ru/djam/dotnet6.0.git
synced 2025-02-23 14:12:58 +00:00
macro for python3 for platform 201905
This commit is contained in:
parent
e9d998aa76
commit
1c1113e8b0
1 changed files with 7 additions and 2 deletions
|
@ -2,6 +2,12 @@
|
|||
%define _build_pkgcheck_set %{nil}
|
||||
%define _build_pkgcheck_srpm %{nil}
|
||||
|
||||
%if %{mdvver} == 201905
|
||||
%define __python_3 %{__python38}
|
||||
%else
|
||||
%define __python_3 %{__python3}
|
||||
%endif
|
||||
|
||||
# Avoid provides/requires from private libraries
|
||||
%global privlibs libhostfxr
|
||||
%global privlibs %{privlibs}|libclrjit
|
||||
|
@ -515,8 +521,7 @@ install artifacts/%{runtime_arch}/Release/Private.SourceBuilt.Artifacts.*.tar.gz
|
|||
# because native binaries are stripped by rpm-build after %%install.
|
||||
# So we need to do this check earlier.
|
||||
echo "Testing build results for debug symbols..."
|
||||
%{__python3} %{SOURCE1} -v %{buildroot}%{_libdir}/dotnet/
|
||||
|
||||
%{__python_3} %{SOURCE1} -v %{buildroot}%{_libdir}/dotnet/
|
||||
|
||||
%check
|
||||
%{buildroot}%{_libdir}/dotnet/dotnet --info
|
||||
|
|
Loading…
Add table
Reference in a new issue