!39 [sync] PR-38: fix build warnings: patchN is deprecated (2 usages found), use patch N (or %patch -P N)

From: @openeuler-sync-bot 
Reviewed-by: @t_feng 
Signed-off-by: @t_feng
This commit is contained in:
openeuler-ci-bot 2024-12-06 08:04:09 +00:00 committed by Gitee
commit d259a6d1b0
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,6 +1,6 @@
Name: webrtc-audio-processing
Version: 1.3
Release: 3
Release: 4
Summary: Real-Time Communication Library for Web Browsers
License: BSD and MIT
URL: https://www.freedesktop.org/software/pulseaudio/webrtc-audio-processing/
@ -34,10 +34,10 @@ Header files for webrtc-audio-processing
%prep
%setup -q %{name}-%{version}
%ifarch sw_64
%patch6001 -p1
%patch -P 6001 -p1
%endif
%ifarch loongarch64 riscv64 ppc64le
%patch6002 -p1
%patch -P 6002 -p1
%endif
%build
@ -67,6 +67,9 @@ sed -i '/vector/a #include <memory>' webrtc/modules/audio_processing/aec3/reverb
%doc NEWS
%changelog
* Wed Dec 04 2024 shenzhongwei <shenzhongwei@kylinos.cn> - 1.3-4
- fix: %patchN is deprecated (2 usages found), use %patch N (or %patch -P N)
* Tue May 28 2024 liweigang <liweiganga@uniontech.com> - 1.3-3
- fix missing patch in src.rpm