From 7add4baa64726d17aea8562c82709452936e3df77bf5fa4089299174c72282ec Mon Sep 17 00:00:00 2001 From: "Dr. Werner Fink" Date: Tue, 27 Feb 2024 07:05:34 +0000 Subject: [PATCH] Accepting request 1151818 from home:pgajdos:t - Use %patch -P N instead of deprecated %patchN OBS-URL: https://build.opensuse.org/request/show/1151818 OBS-URL: https://build.opensuse.org/package/show/Publishing/transfig?expand=0&rev=89 --- transfig.changes | 5 +++++ transfig.spec | 10 +++++----- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/transfig.changes b/transfig.changes index f274740..45bdaa2 100644 --- a/transfig.changes +++ b/transfig.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Feb 26 15:47:27 UTC 2024 - pgajdos@suse.com + +- Use %patch -P N instead of deprecated %patchN + ------------------------------------------------------------------- Fri Sep 15 07:41:38 UTC 2023 - Dr. Werner Fink diff --git a/transfig.spec b/transfig.spec index 69a942d..12decac 100644 --- a/transfig.spec +++ b/transfig.spec @@ -67,11 +67,11 @@ releases, this command was implemented as a shell script. %prep %setup -q -n fig2dev-%{version} find -type f -exec chmod a-x,go-w '{}' \; -%patch0 -p0 -b .0 -%patch4 -p1 -b .afl -%patch43 -p1 -b .mpdf -%patch44 -p1 -b .mpdfdoc -%patch47 -p1 -b .epstopdf +%patch -P 0 -p0 -b .0 +%patch -P 4 -p1 -b .afl +%patch -P 43 -p1 -b .mpdf +%patch -P 44 -p1 -b .mpdfdoc +%patch -P 47 -p1 -b .epstopdf # remove obsolete libc fallback implementations rm fig2dev/lib/*.c