I’ve done this before. Successfully. And I can’t find where.
%post
%if 0%{?sailfishos_version} > 40200
cp %{buildroot}%{_datadir}/%{name}/qml/pages/WebView2.qml %{_datadir}/qml/pages/WebView.qml
%endif
Or should it be in # >> install post?
# >> install post
%if "%{sailfishos_version}" < "40000"
cp %{buildroot}%{_datadir}/%{name}/qml/pages/FirstPage_3.qml \
%{buildroot}%{_datadir}/%{name}/qml/pages/FirstPage.qml \
%else
%endif
I think the last one if from @nephros
I’m trying to get old Webkit views ‘back’ for 3.4.x.x