From acfe67a5462a45a39d5be89a432f1d0449484ec1 Mon Sep 17 00:00:00 2001 From: chubtub <43381989+chubtub@users.noreply.github.com> Date: Fri, 4 Mar 2022 10:18:13 -0500 Subject: [PATCH] Prevent jar file from being truncated by packaging. --- tools/tcg_rim_tool/build.gradle | 2 +- tools/tcg_rim_tool/tcg_rim_tool.spec | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/tcg_rim_tool/build.gradle b/tools/tcg_rim_tool/build.gradle index 6b65459a..5630a3ff 100644 --- a/tools/tcg_rim_tool/build.gradle +++ b/tools/tcg_rim_tool/build.gradle @@ -5,7 +5,7 @@ repositories { } dependencies { - compile 'javax.json:javax.json-api:1.1.4', 'org.glassfish:javax.json:1.1.4', 'com.beust:jcommander:1.72', 'org.bouncycastle:bcmail-jdk15on:1.59' + compile 'javax.json:javax.json-api:1.1.4', 'org.glassfish:javax.json:1.1.4', 'com.beust:jcommander:1.72', 'org.bouncycastle:bcmail-jdk15on:1.59' testCompile 'org.testng:testng:6.8.8' } diff --git a/tools/tcg_rim_tool/tcg_rim_tool.spec b/tools/tcg_rim_tool/tcg_rim_tool.spec index 12e27791..a8f59014 100644 --- a/tools/tcg_rim_tool/tcg_rim_tool.spec +++ b/tools/tcg_rim_tool/tcg_rim_tool.spec @@ -12,6 +12,8 @@ BuildRequires: java-headless >= 1:1.8.0 %description This tool will generate a base RIM file for PC clients in accordance with the schema located at http://standards.iso.org/iso/19770/-2/2015/schema.xsd. The generated RIM can either be empty if no arguments are given, or contain a payload if an input file is provided. The tool can also verify a given RIMfile against the schema. Use -h or --help to see a list of commands and uses. +%global __os_install_post %{nil} + %prep %setup -q -c -n %{name}