Accepting request 1147719 from home:dimstar:rpm4.20:a

- Use %patch -P N instead of deprecated %patchN.

OBS-URL: https://build.opensuse.org/request/show/1147719
OBS-URL: https://build.opensuse.org/package/show/Publishing/a2ps?expand=0&rev=90
This commit is contained in:
Ondřej Súkup 2024-02-21 11:40:06 +00:00 committed by Git OBS Bridge
parent d0ff1dae95
commit df9184fbd8
2 changed files with 16 additions and 11 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Feb 20 09:53:18 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
- Use %patch -P N instead of deprecated %patchN.
-------------------------------------------------------------------
Mon Sep 18 03:41:10 UTC 2023 - jun wang <junguo.wang@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package a2ps
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -106,15 +106,15 @@ Latin encodings are supported.
%prep
%setup -q -n a2ps-4.15.5
touch -r configure.ac .ref
%patch2 -p1
%patch3 -p1
%patch6 -p1 -b .incld
%patch8 -b .base
%patch9 -b .utf8
%patch10 -b .types
%patch13 -p1 -b .p13
%patch17 -p1 -b .p17
%patch0 -b .p0
%patch -P 2 -p1
%patch -P 3 -p1
%patch -P 6 -p1 -b .incld
%patch -P 8 -b .base
%patch -P 9 -b .utf8
%patch -P 10 -b .types
%patch -P 13 -p1 -b .p13
%patch -P 17 -p1 -b .p17
%patch -P 0 -b .p0
cp -f %{SOURCE3} po/ko.po
find -type f | grep -vE '(parseppd|parsessh).y' | xargs \
sed -ri 's/59 Temple Place(,| -) Suite 330/51 Franklin Street, Fifth Floor/;s/02111-1307/02110-1301/'