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