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
This commit is contained in:
Danilo Spinella 2024-02-26 11:01:31 +00:00 committed by Git OBS Bridge
parent cf1cc63e6c
commit cac8078e15
2 changed files with 8 additions and 12 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Feb 26 10:56:19 UTC 2024 - Danilo Spinella <danilo.spinella@suse.com>
- Use %autopatch instead of deprecated %patchN.
-------------------------------------------------------------------
Mon Feb 5 09:22:10 UTC 2024 - Danilo Spinella <danilo.spinella@suse.com>

View File

@ -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