From 3cdd56b26bebb7cc152698215cccd56a0132ed65df40ab335ccb89592a6bcb8b Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Mon, 26 Feb 2024 13:39:55 +0000 Subject: [PATCH] Accepting request 1151485 from home:dimstar:rpm4.20:s Prepare for RPM 4.20 OBS-URL: https://build.opensuse.org/request/show/1151485 OBS-URL: https://build.opensuse.org/package/show/Publishing/sgmltool?expand=0&rev=24 --- sgmltool.changes | 5 +++++ sgmltool.spec | 20 ++++++++++---------- 2 files changed, 15 insertions(+), 10 deletions(-) diff --git a/sgmltool.changes b/sgmltool.changes index 96c165a..09fa147 100644 --- a/sgmltool.changes +++ b/sgmltool.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Feb 26 13:08:20 UTC 2024 - Dominique Leuenberger + +- Use %patch -P N instead of deprecated %patchN. + ------------------------------------------------------------------- Mon Sep 30 10:16:15 UTC 2019 - Tomáš Chvátal diff --git a/sgmltool.spec b/sgmltool.spec index 3a94f86..1eac31e 100644 --- a/sgmltool.spec +++ b/sgmltool.spec @@ -80,16 +80,16 @@ This package contains the LaTeX generator (sgml2latex) from sgmltool. %prep %setup -q -n sgml-tools-%{version} -a1 -%patch0 -%patch1 -p1 -%patch2 -p1 -%patch3 -p1 -%patch4 -p1 -%patch5 -%patch6 -p1 -%patch7 -p1 -%patch8 -%patch9 +%patch -P 0 +%patch -P 1 -p1 +%patch -P 2 -p1 +%patch -P 3 -p1 +%patch -P 4 -p1 +%patch -P 5 +%patch -P 6 -p1 +%patch -P 7 -p1 +%patch -P 8 +%patch -P 9 %build export CFLAGS="%{optflags} -fno-strict-aliasing"