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