rpm-specdump cannot deal with combination of this specific %if and
%ffmpeg_ver having dash in "ffmpeg-devel". get it out of the way for a
rebuild.
This reverts commit
fa199ea5bc4181829b20bf261830c22f8fe306e4.
%define qt5bindir %(qtpaths-qt5 --binaries-dir)
%define qt5bindir %(qtpaths-qt5 --binaries-dir)
-%define ffmpeg_ver %(rpm -q --qf=%%{V} ffmpeg-devel)
-
%description
Qt is a cross-platform application and UI framework. Using Qt, you can
write web-enabled applications once and deploy them across desktop,
%description
Qt is a cross-platform application and UI framework. Using Qt, you can
write web-enabled applications once and deploy them across desktop,
%endif
%patch1 -p1
%patch2 -p1
%endif
%patch1 -p1
%patch2 -p1
+%patch3 -p1 -d src/3rdparty
%patch4 -p1 -d src/3rdparty
%patch5 -p1 -d src/3rdparty/chromium
%patch4 -p1 -d src/3rdparty
%patch5 -p1 -d src/3rdparty/chromium
-%if %{_ver_ge "%ffmpeg_ver" "5"}
-%patch3 -p1 -d src/3rdparty
%patch6 -p1 -d src/3rdparty/chromium
%patch6 -p1 -d src/3rdparty/chromium
%{qt5bindir}/syncqt.pl -version %{version}
%{qt5bindir}/syncqt.pl -version %{version}