- Switch to '%autopatch -M' and '%patch -P'

OBS-URL: https://build.opensuse.org/package/show/KDE:Qt:5.15/libqt5-qtwebengine?expand=0&rev=57
This commit is contained in:
Christophe Marin 2024-02-20 14:42:19 +00:00 committed by Git OBS Bridge
parent 28b527877b
commit be6017f114
2 changed files with 7 additions and 10 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Feb 20 14:42:07 UTC 2024 - Christophe Marin <christophe@krop.fr>
- Switch to '%autopatch -M' and '%patch -P'
-------------------------------------------------------------------
Wed Nov 22 09:44:27 UTC 2023 - christophe@krop.fr

View File

@ -293,15 +293,7 @@ Examples for the libqt5-qtpdf module.
%prep
%setup -q -n %{tar_version}
# Leap 15 doesn't understand '%%autopatch -m'
%patch0 -p1
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
%patch5 -p1
%patch6 -p1
%patch7 -p1
%autopatch -M 49
# Replace the whole catapult folder rather than picking individual changes
pushd src/3rdparty/chromium/third_party
@ -313,7 +305,7 @@ popd
# FFmpeg 5
%if %{with system_ffmpeg}
%if %{pkg_vcmp libavcodec-devel >= 5}
%patch50 -p1
%patch -P50 -p1
%endif
%endif