From 17c6346a258c7cee0283d3168815ccda02ccc308 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Wed, 10 May 2023 16:36:55 +0800 Subject: [PATCH] use %patch -P to quieten rpmbuild --- ghc.spec | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/ghc.spec b/ghc.spec index 9964888..305c44d 100644 --- a/ghc.spec +++ b/ghc.spec @@ -437,37 +437,37 @@ Installing this package causes %{name}-*-prof packages corresponding to %endif %setup -q -n ghc-%{version} %{?with_testsuite:-b1} -%patch1 -p1 -b .orig -%patch3 -p1 -b .orig +%patch -P1 -p1 -b .orig +%patch -P3 -p1 -b .orig -%patch2 -p1 -b .orig -%patch10 -p1 -b .orig -%patch11 -p1 -b .orig11 +%patch -P2 -p1 -b .orig +%patch -P10 -p1 -b .orig +%patch -P11 -p1 -b .orig11 rm libffi-tarballs/libffi-*.tar.gz %ifarch armv7hl -%patch12 -p1 -b .orig +%patch -P12 -p1 -b .orig %endif # remove s390x after complete switching to llvm %ifarch %{ghc_unregisterized_arches} s390x -%patch15 -p1 -b .orig -%patch16 -p1 -b .orig +%patch -P15 -p1 -b .orig +%patch -P16 -p1 -b .orig %endif # bigendian %ifarch s390x -%patch18 -p1 -b .orig +%patch -P18 -p1 -b .orig %endif # ppc64le -%patch20 -p1 -b .orig +%patch -P20 -p1 -b .orig # debian -%patch24 -p1 -b .orig -%patch26 -p1 -b .orig -%patch27 -p1 -b .orig +%patch -P24 -p1 -b .orig +%patch -P26 -p1 -b .orig +%patch -P27 -p1 -b .orig %if %{with haddock} && %{without hadrian} %global gen_contents_index gen_contents_index.orig