From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51488) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fgnDK-0008LP-BO for guix-patches@gnu.org; Sat, 21 Jul 2018 04:26:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fgnDH-0005n9-2b for guix-patches@gnu.org; Sat, 21 Jul 2018 04:26:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:45175) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fgnDG-0005mu-TV for guix-patches@gnu.org; Sat, 21 Jul 2018 04:26:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fgnDG-0000Ux-Hl for guix-patches@gnu.org; Sat, 21 Jul 2018 04:26:02 -0400 Subject: [bug#32231] [PATCH 7/8] gnu: java-tomcat: Remove bundled jars. Resent-Message-ID: Date: Sat, 21 Jul 2018 10:25:10 +0200 From: =?UTF-8?Q?Bj=C3=B6rn_?= =?UTF-8?Q?H=C3=B6fling?= Message-ID: <20180721102510.3123a799@alma-ubu> In-Reply-To: <20180721101401.63dee9b6@alma-ubu> References: <20180721101401.63dee9b6@alma-ubu> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; boundary="Sig_/LkwxNbA=GBbu4ffRcSA1n6j"; protocol="application/pgp-signature" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 32231@debbugs.gnu.org --Sig_/LkwxNbA=GBbu4ffRcSA1n6j Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable * gnu/packages/web.scm (java-tomcat)[source]: Add snippet to remove bundled= jars. --- gnu/packages/web.scm | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index 008154d..a3290a3 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -5719,7 +5719,13 @@ encoder/decoder based on the draft-12 specification = for UBJSON.") version "/src/apache-tomcat-" version "-= src.tar.gz")) (sha256 (base32 - "1qjsr6zmkdciakya4jqz0ssnsk02qlmmd898c05rasfwcrpj0xi6")))) + "1qjsr6zmkdciakya4jqz0ssnsk02qlmmd898c05rasfwcrpj0xi6")) + (modules '((guix build utils))) + ;; Delete bundled jars. + (snippet + '(begin + (for-each delete-file (find-files "." "\\.jar$")) + #t)))) (build-system ant-build-system) (inputs `(("java-eclipse-jdt-core" ,java-eclipse-jdt-core))) --=20 2.7.4 --Sig_/LkwxNbA=GBbu4ffRcSA1n6j Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAltS7ecACgkQvyhstlk+X/16lQCeMnuufMepwjNbpNfk8rpRWuRO qdAAoJpsWmd3FRJri09jJ3AKhnCDyLVa =V7Dq -----END PGP SIGNATURE----- --Sig_/LkwxNbA=GBbu4ffRcSA1n6j--