[packages/ghc] - don't package boostrap binaries in SRPM if not bootstrapping (500G file size difference)

baggins baggins at pld-linux.org
Sat May 23 15:03:41 CEST 2020


commit 3f9a28ff8cdb6734c35c7e702afe637711b492ff
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sat May 23 14:25:06 2020 +0200

    - don't package boostrap binaries in SRPM if not bootstrapping (500G file size difference)

 ghc.spec | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/ghc.spec b/ghc.spec
index 73d8f21..5db2300 100644
--- a/ghc.spec
+++ b/ghc.spec
@@ -57,12 +57,14 @@ License:	BSD-like w/o adv. clause
 Group:		Development/Languages
 Source0:	http://haskell.org/ghc/dist/%{version}/%{name}-%{version}-src.tar.xz
 # Source0-md5:	1368854e72bc69d7ef2377cffcfbce3b
+%if %{with bootstrap}
 Source3:	https://downloads.haskell.org/~ghc/%{bootversion}/%{name}-%{bootversion}-i386-deb9-linux.tar.xz
 # Source3-md5:	1bc84d8d51d8b0411a13172070295617
 Source4:	https://downloads.haskell.org/~ghc/%{bootversion}/%{name}-%{bootversion}-x86_64-deb9-linux.tar.xz
 # Source4-md5:	8de779b73c1b2f1b7ab49030015fce3d
 Source5:	http://ftp.ports.debian.org/debian-ports/pool-x32/main/g/ghc/ghc_8.8.3-1~exp2_x32.deb
 # Source5-md5:	b912b87c8d9450d140ae773083edecb0
+%endif
 Patch0:		%{name}-pld.patch
 Patch1:		%{name}-pkgdir.patch
 Patch3:		build.patch
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ghc.git/commitdiff/46ff6609a9fbd1ca4289354bb50d93905ce63bcd



More information about the pld-cvs-commit mailing list