!8 [sync] PR-5: fix build warnings:patchN is deprecated, use patch N (or %patch -P N )

From: @openeuler-sync-bot 
Reviewed-by: @wk333 
Signed-off-by: @wk333
This commit is contained in:
openeuler-ci-bot 2024-12-17 01:02:08 +00:00 committed by Gitee
commit f23e4302c1
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,6 +1,6 @@
Name: backupninja Name: backupninja
Version: 1.2.2 Version: 1.2.2
Release: 1 Release: 2
Summary: Lightweight, extensible backup system Summary: Lightweight, extensible backup system
License: GPLv2 License: GPLv2
URL: https://0xacab.org/liberate/backupninja URL: https://0xacab.org/liberate/backupninja
@ -24,9 +24,9 @@ hard-linking.
%prep %prep
%setup -q -n backupninja-backupninja-%{version} %setup -q -n backupninja-backupninja-%{version}
%patch0 -p1 -b .openeuler %patch 0 -p1 -b .openeuler
%patch1 -p1 -b .dupver %patch 1 -p1 -b .dupver
%patch2 -p1 -b .extbck %patch 2 -p1 -b .extbck
%build %build
./autogen.sh ./autogen.sh
@ -52,6 +52,9 @@ mkdir -p -m 0750 %{buildroot}/%{_sysconfdir}/backup.d
%{_mandir}/man5/*.5* %{_mandir}/man5/*.5*
%changelog %changelog
* Fri Dec 13 2024 chenhao <dev11201@linx-info.com> - 1.2.2-2
- Fix %patchN is deprecated warning
* Wed Apr 12 2023 liyanan <thistleslyn@163.com> - 1.2.2-1 * Wed Apr 12 2023 liyanan <thistleslyn@163.com> - 1.2.2-1
- Update to 1.2.2 - Update to 1.2.2