use %patch -P to quieten rpmbuild
This commit is contained in:
parent
80e2008e81
commit
17c6346a25
26
ghc.spec
26
ghc.spec
@ -437,37 +437,37 @@ Installing this package causes %{name}-*-prof packages corresponding to
|
|||||||
%endif
|
%endif
|
||||||
%setup -q -n ghc-%{version} %{?with_testsuite:-b1}
|
%setup -q -n ghc-%{version} %{?with_testsuite:-b1}
|
||||||
|
|
||||||
%patch1 -p1 -b .orig
|
%patch -P1 -p1 -b .orig
|
||||||
%patch3 -p1 -b .orig
|
%patch -P3 -p1 -b .orig
|
||||||
|
|
||||||
%patch2 -p1 -b .orig
|
%patch -P2 -p1 -b .orig
|
||||||
%patch10 -p1 -b .orig
|
%patch -P10 -p1 -b .orig
|
||||||
%patch11 -p1 -b .orig11
|
%patch -P11 -p1 -b .orig11
|
||||||
|
|
||||||
rm libffi-tarballs/libffi-*.tar.gz
|
rm libffi-tarballs/libffi-*.tar.gz
|
||||||
|
|
||||||
%ifarch armv7hl
|
%ifarch armv7hl
|
||||||
%patch12 -p1 -b .orig
|
%patch -P12 -p1 -b .orig
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
# remove s390x after complete switching to llvm
|
# remove s390x after complete switching to llvm
|
||||||
%ifarch %{ghc_unregisterized_arches} s390x
|
%ifarch %{ghc_unregisterized_arches} s390x
|
||||||
%patch15 -p1 -b .orig
|
%patch -P15 -p1 -b .orig
|
||||||
%patch16 -p1 -b .orig
|
%patch -P16 -p1 -b .orig
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
# bigendian
|
# bigendian
|
||||||
%ifarch s390x
|
%ifarch s390x
|
||||||
%patch18 -p1 -b .orig
|
%patch -P18 -p1 -b .orig
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
# ppc64le
|
# ppc64le
|
||||||
%patch20 -p1 -b .orig
|
%patch -P20 -p1 -b .orig
|
||||||
|
|
||||||
# debian
|
# debian
|
||||||
%patch24 -p1 -b .orig
|
%patch -P24 -p1 -b .orig
|
||||||
%patch26 -p1 -b .orig
|
%patch -P26 -p1 -b .orig
|
||||||
%patch27 -p1 -b .orig
|
%patch -P27 -p1 -b .orig
|
||||||
|
|
||||||
%if %{with haddock} && %{without hadrian}
|
%if %{with haddock} && %{without hadrian}
|
||||||
%global gen_contents_index gen_contents_index.orig
|
%global gen_contents_index gen_contents_index.orig
|
||||||
|
Loading…
Reference in New Issue
Block a user