Accepting request 1150564 from shells

Prepare for RPM 4.20 (forwarded request 1149310 from dimstar)

OBS-URL: https://build.opensuse.org/request/show/1150564
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ksh?expand=0&rev=115
This commit is contained in:
Ana Guerrero 2024-02-26 18:45:29 +00:00 committed by Git OBS Bridge
commit 119082b7df
2 changed files with 63 additions and 58 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Feb 22 12:41:40 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
- Use %patch -P N instead of deprecated %patchN.
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Nov 7 08:49:59 UTC 2023 - Dominique Leuenberger <dimstar@opensuse.org> Tue Nov 7 08:49:59 UTC 2023 - Dominique Leuenberger <dimstar@opensuse.org>

116
ksh.spec
View File

@ -204,71 +204,71 @@ if test -d share ; then
find share/ -type d -a -empty | xargs -r rm -vrf find share/ -type d -a -empty | xargs -r rm -vrf
find share/ -type d -a -empty | xargs -r rm -vrf find share/ -type d -a -empty | xargs -r rm -vrf
fi fi
%patch0 %patch -P 0
%patch62 %patch -P 62
%patch1 %patch -P 1
%ifarch %arm %ifarch %arm
%patch2 %patch -P 2
%endif %endif
%patch3 %patch -P 3
%patch4 %patch -P 4
%patch5 %patch -P 5
%patch6 %patch -P 6
%patch7 %patch -P 7
%patch8 %patch -P 8
%patch9 %patch -P 9
%patch10 %patch -P 10
%patch11 %patch -P 11
%patch12 %patch -P 12
%patch13 %patch -P 13
%ifarch ia64 %ifarch ia64
%patch14 %patch -P 14
%endif %endif
%patch15 %patch -P 15
%patch16 %patch -P 16
%patch17 %patch -P 17
%patch18 %patch -P 18
%patch19 %patch -P 19
%patch20 %patch -P 20
%patch21 %patch -P 21
%patch22 %patch -P 22
%patch23 %patch -P 23
%patch24 %patch -P 24
%patch27 %patch -P 27
%patch28 %patch -P 28
%patch29 %patch -P 29
%patch30 %patch -P 30
%patch31 %patch -P 31
%patch32 %patch -P 32
%patch33 %patch -P 33
%patch34 %patch -P 34
%patch35 %patch -P 35
%patch36 %patch -P 36
%patch37 %patch -P 37
%patch38 %patch -P 38
%patch39 %patch -P 39
%patch40 %patch -P 40
%patch41 %patch -P 41
%patch42 %patch -P 42
%if 0%{?ksh_no_vfork} %if 0%{?ksh_no_vfork}
%patch43 %patch -P 43
%endif %endif
%patch44 %patch -P 44
%patch45 %patch -P 45
%patch46 %patch -P 46
%patch47 %patch -P 47
%patch48 %patch -P 48
%patch49 %patch -P 49
%patch50 %patch -P 50
%patch51 %patch -P 51
%patch52 %patch -P 52
%patch53 %patch -P 53
%patch54 %patch -P 54
%patch55 %patch -P 55
%patch56 %patch -P 56
%patch57 %patch -P 57
%patch63 -p 1 %patch -P 63 -p 1
%build %build
%global _lto_cflags %{_lto_cflags} -ffat-lto-objects %global _lto_cflags %{_lto_cflags} -ffat-lto-objects