fix: %patchN is deprecated (2 usages found), use %patch N (or %patch -P N)

(cherry picked from commit e7232dde96f1979fe7a3f5cf87f46bf63a5a6f64)
This commit is contained in:
沈仲伟 2024-12-04 10:05:21 +08:00 committed by openeuler-sync-bot
parent bea0b31367
commit 723f4c8d85

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