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

From: @zhangxianjun87 
Reviewed-by: @panchenbo 
Signed-off-by: @panchenbo
This commit is contained in:
openeuler-ci-bot 2024-11-22 03:44:17 +00:00 committed by Gitee
commit 1fd25c81e5
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -11,7 +11,7 @@
Name: plasma-workspace Name: plasma-workspace
Summary: Plasma workspace, applications and applets Summary: Plasma workspace, applications and applets
Version: 5.27.10 Version: 5.27.10
Release: 3 Release: 4
License: GPLv2+ License: GPLv2+
URL: https://invent.kde.org/plasma/%{name} URL: https://invent.kde.org/plasma/%{name}
@ -332,12 +332,12 @@ Requires: xsetroot
%prep %prep
%setup -q %setup -q
%patch105 -p1 %patch 105 -p1
%patch106 -p1 %patch 106 -p1
%patch107 -p1 %patch 107 -p1
%patch108 -p1 %patch 108 -p1
%patch109 -p1 %patch 109 -p1
%patch110 -p1 %patch 110 -p1
%build %build
%{cmake_kf5} \ %{cmake_kf5} \
@ -596,6 +596,9 @@ setsebool -P selinuxuser_execmod 1
%endif %endif
%changelog %changelog
* Thu Nov 21 2024 zhangxianjun <zhangxianjun@kylinos.cn> - 5.27.10-4
- fix: %patchN is deprecated (2 usages found), use %patch N (or %patch -P N)
* Mon Nov 18 2024 ChenYanpan <chenyanpan@xfusion.com> - 5.27.10-3 * Mon Nov 18 2024 ChenYanpan <chenyanpan@xfusion.com> - 5.27.10-3
- adapt to the new CMake macros to fix build failure; use License GPLv2+ in doc package - adapt to the new CMake macros to fix build failure; use License GPLv2+ in doc package