use python2 hack only on epel

and not unconditionally
This commit is contained in:
Rex Dieter 2022-02-17 14:03:23 -06:00
parent dfae144a41
commit af46fc18c6

View File

@ -410,6 +410,7 @@ mv pulse src/3rdparty/chromium/
pushd src/3rdparty/chromium
popd
%if 0%{?epel:1}
# Install python2 from rpms
mkdir python2
pushd python2
@ -420,6 +421,7 @@ rpm2cpio %{SOURCE101} | cpio -idm
rpm2cpio %{SOURCE102} | cpio -idm
%endif
popd
%endif
%if 0%{?use_system_libicu}
%patch1 -p1 -b .no-icudtl-dat