fix build warnings:patchN is deprecated, use patch N (or %patch -P N )

Signed-off-by: Chen Hao <dev11201@linx-info.com>
(cherry picked from commit 150d5a4296eab64a6c6b3348cdba6ae36001ff88)
This commit is contained in:
Chen Hao 2024-12-13 19:43:19 +00:00 committed by openeuler-sync-bot
parent d83f925d12
commit 59342bac2e

View File

@ -1,6 +1,6 @@
Name: backupninja
Version: 1.2.2
Release: 1
Release: 2
Summary: Lightweight, extensible backup system
License: GPLv2
URL: https://0xacab.org/liberate/backupninja
@ -24,9 +24,9 @@ hard-linking.
%prep
%setup -q -n backupninja-backupninja-%{version}
%patch0 -p1 -b .openeuler
%patch1 -p1 -b .dupver
%patch2 -p1 -b .extbck
%patch 0 -p1 -b .openeuler
%patch 1 -p1 -b .dupver
%patch 2 -p1 -b .extbck
%build
./autogen.sh
@ -52,6 +52,9 @@ mkdir -p -m 0750 %{buildroot}/%{_sysconfdir}/backup.d
%{_mandir}/man5/*.5*
%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
- Update to 1.2.2