diff --git a/execstack.changes b/execstack.changes index 8a79690..b39c6ae 100644 --- a/execstack.changes +++ b/execstack.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Feb 22 11:39:44 UTC 2024 - Dominique Leuenberger + +- Use %patch -P N instead of deprecated %patchN. + ------------------------------------------------------------------- Mon Jul 24 08:24:27 UTC 2023 - Andreas Schwab diff --git a/execstack.spec b/execstack.spec index 201df2f..5fa97c0 100644 --- a/execstack.spec +++ b/execstack.spec @@ -59,12 +59,12 @@ with or without executable stack. %prep #autosetup -n prelink-%%{commit} -p1 -Sgit %setup -q -n prelink-%{commit} -%patch0 -p1 -%patch1 -p1 +%patch -P 0 -p1 +%patch -P 1 -p1 %ifarch ppc64 -%patch2 -p1 +%patch -P 2 -p1 %endif -%patch3 -p1 +%patch -P 3 -p1 %build sed -i -e '/^prelink_LDADD/s/$/ -lpthread/' src/Makefile.{am,in}