diff --git a/sysvinit.changes b/sysvinit.changes index 790e7c0..f8e5a1d 100644 --- a/sysvinit.changes +++ b/sysvinit.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Feb 26 13:28:43 UTC 2024 - Dominique Leuenberger + +- Use %patch -P N instead of deprecated %patchN. + ------------------------------------------------------------------- Fri Aug 18 13:03:53 UTC 2023 - Dr. Werner Fink diff --git a/sysvinit.spec b/sysvinit.spec index c5def23..8a8dc0c 100644 --- a/sysvinit.spec +++ b/sysvinit.spec @@ -85,9 +85,9 @@ rm -rf killproc-%{KPVER} rm -rf startpar-%{START} startpar ln -sf startpar startpar-%{START} %setup -n %{name}-%{SIVER} -q -b 1 -b 2 -%patch2 -p0 -b .suse -%patch9 -p0 -b .no-kill -%patch0 +%patch -P 2 -p0 -b .suse +%patch -P 9 -p0 -b .no-kill +%patch -P 0 pushd doc mkdir killproc popd @@ -95,7 +95,7 @@ pushd ../killproc-%{KPVER} ln -t../%{name}-%{SIVER}/doc/killproc README.md popd pushd ../startpar-%{START} -%patch50 +%patch -P 50 popd %_fixowner . %_fixgroup .