mirror of
https://abf.rosa.ru/djam/firefox.git
synced 2025-02-24 18:42:57 +00:00
Added python3.8 for < 201910
This commit is contained in:
parent
985d7762ca
commit
6aa31b50db
1 changed files with 9 additions and 1 deletions
10
firefox.spec
10
firefox.spec
|
@ -116,10 +116,11 @@ BuildRequires: zlib-devel
|
|||
BuildRequires: glib2-devel
|
||||
%if %{mdvver} >= 201910
|
||||
BuildRequires: pkgconfig(python2)
|
||||
BuildRequires: pkgconfig(python3)
|
||||
%else
|
||||
BuildRequires: pkgconfig(python)
|
||||
BuildRequires: python38
|
||||
%endif
|
||||
BuildRequires: pkgconfig(python3)
|
||||
BuildRequires: pkgconfig(libIDL-2.0)
|
||||
BuildRequires: makedepend
|
||||
BuildRequires: nodejs
|
||||
|
@ -281,6 +282,13 @@ cd -
|
|||
|
||||
export RUSTFLAGS="-Cdebuginfo=0"
|
||||
|
||||
%if %{mdvver} < 201910
|
||||
sed -i "s/python3/python3.8/g" configure.in
|
||||
sed -i "s/python3/python3.8/g" mach
|
||||
export PYTHON3=/usr/libexec/python3.8
|
||||
export PATH=/usr/libexec:$PATH
|
||||
%endif
|
||||
|
||||
%if 0%{?clang}
|
||||
%define linker lld
|
||||
%if %{mdvver} <= 201910
|
||||
|
|
Loading…
Add table
Reference in a new issue