From cac8078e155c0457dea47c2ba1f7a35551a8631068ad446e9047d55a6b235ccc Mon Sep 17 00:00:00 2001 From: Danilo Spinella Date: Mon, 26 Feb 2024 11:01:31 +0000 Subject: [PATCH] Accepting request 1151172 from home:dspinella:branches:Archiving - Use %autopatch instead of deprecated %patchN. OBS-URL: https://build.opensuse.org/request/show/1151172 OBS-URL: https://build.opensuse.org/package/show/Archiving/cpio?expand=0&rev=96 --- cpio.changes | 5 +++++ cpio.spec | 15 +++------------ 2 files changed, 8 insertions(+), 12 deletions(-) diff --git a/cpio.changes b/cpio.changes index 8146905..0a4823d 100644 --- a/cpio.changes +++ b/cpio.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Feb 26 10:56:19 UTC 2024 - Danilo Spinella + +- Use %autopatch instead of deprecated %patchN. + ------------------------------------------------------------------- Mon Feb 5 09:22:10 UTC 2024 - Danilo Spinella diff --git a/cpio.spec b/cpio.spec index 5d6636f..1cfa232 100644 --- a/cpio.spec +++ b/cpio.spec @@ -60,7 +60,7 @@ Summary: Tape drive control utility Group: Productivity/Archiving/Backup Requires: %{name} = %{version} Requires(post): update-alternatives -Requires(postun):update-alternatives +Requires(postun): update-alternatives Provides: mt %description mt @@ -70,17 +70,8 @@ This package includes the 'mt', a local tape drive control program. %prep %setup -q -%patch2 -%patch4 -%patch5 -%patch15 -%patch17 -%patch18 -%patch20 -### -%patch21 -p1 -%patch23 -p1 -%patch25 -p1 +%autopatch -M 20 -p0 +%autopatch -m 21 -p1 %build gettextize -f --no-changelog