From be54780b0d85818feb0ca6986f06922a299b8ce7c2339b07177ac8c1c0c58804 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Mon, 26 Feb 2024 13:12:37 +0000 Subject: [PATCH] Accepting request 1151469 from home:dimstar:rpm4.20:s Prepare for RPM 4.20 OBS-URL: https://build.opensuse.org/request/show/1151469 OBS-URL: https://build.opensuse.org/package/show/hardware/sbl?expand=0&rev=37 --- sbl.changes | 5 +++++ sbl.spec | 14 +++++++------- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/sbl.changes b/sbl.changes index 9ef4e1d..8c9bc45 100644 --- a/sbl.changes +++ b/sbl.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Feb 26 13:05:05 UTC 2024 - Dominique Leuenberger + +- Use %patch -P N instead of deprecated %patchN. + ------------------------------------------------------------------- Tue Jul 7 09:49:24 UTC 2020 - Callum Farmer diff --git a/sbl.spec b/sbl.spec index 02e469b..3003e65 100644 --- a/sbl.spec +++ b/sbl.spec @@ -57,15 +57,15 @@ this python module enables orca to use brld for braille output %prep %setup -q -%patch1 -%patch2 -%patch3 +%patch -P 1 +%patch -P 2 +%patch -P 3 %if "%{_lib}" == "lib64" -%patch4 -p1 +%patch -P 4 -p1 %endif -%patch5 -p1 -%patch6 -p1 -%patch7 -p1 +%patch -P 5 -p1 +%patch -P 6 -p1 +%patch -P 7 -p1 %build make %{?_smp_mflags} CFLAGS="%{optflags} -fcommon -D_POSIX_C_SOURCE=2 -D_BSD_SOURCE" \