condition removal of libffi-tarballs for rhel7/fedora

This commit is contained in:
Jens Petersen 2016-10-26 15:26:19 +09:00
parent f12a79f598
commit 9ddab99f44
1 changed files with 2 additions and 0 deletions

View File

@ -241,7 +241,9 @@ except the ghc library, which is installed by the toplevel ghc metapackage.
# gen_contents_index: use absolute path for haddock
%patch1 -p1 -b .orig
%if 0%{?fedora} || 0%{?rhel} > 6
rm -r libffi-tarballs
%endif
%ifarch armv7hl
%patch22 -p1 -b .orig