From 143f21403199beb8344dbb994bbb3c070e98cc56 Mon Sep 17 00:00:00 2001 From: Chen Hao Date: Tue, 17 Dec 2024 10:59:06 +0800 Subject: [PATCH] fix build warnings:patchN is deprecated, use patch N (or %patch -P N ) --- console-setup.spec | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/console-setup.spec b/console-setup.spec index c09ae48..2b8e0a0 100644 --- a/console-setup.spec +++ b/console-setup.spec @@ -1,6 +1,6 @@ Name: console-setup Version: 1.230 -Release: 1 +Release: 2 Summary: Console font and keymap setup program License: GPL-2.0-or-later AND MIT AND Public Domain URL: https://packages.debian.org/cs/sid/console-setup @@ -27,9 +27,9 @@ TerminusBoldVGA. %prep %setup -q -n %{name}-%{version} -%patch0 -p1 -b .paths -%patch1 -p1 -b .fsf-address -%patch2 -p1 -b .ctrll-lock1 +%patch 0 -p1 -b .paths +%patch 1 -p1 -b .fsf-address +%patch 2 -p1 -b .ctrll-lock1 %build make build-linux @@ -49,6 +49,9 @@ make prefix=%{buildroot} install-linux %{_mandir}/man*/* %changelog +* Tue Dec 17 2024 chenhao - 1.230-2 +- Fix %patchN is deprecated warning + * Wed Jul 31 2024 wangkai <13474090681@163.com> - 1.230-1 - Update to 1.230 -- Gitee