From 59342bac2e7734a0d0de389d27b2d50a952a989e Mon Sep 17 00:00:00 2001 From: Chen Hao Date: Fri, 13 Dec 2024 19:43:19 +0000 Subject: [PATCH] fix build warnings:patchN is deprecated, use patch N (or %patch -P N ) Signed-off-by: Chen Hao (cherry picked from commit 150d5a4296eab64a6c6b3348cdba6ae36001ff88) --- backupninja.spec | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/backupninja.spec b/backupninja.spec index 6342ea1..0054190 100644 --- a/backupninja.spec +++ b/backupninja.spec @@ -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 - 1.2.2-2 +- Fix %patchN is deprecated warning + * Wed Apr 12 2023 liyanan - 1.2.2-1 - Update to 1.2.2