From f8acc96546c284627008f28b31729a334ff82a08 Mon Sep 17 00:00:00 2001 From: Dan Horák Date: Oct 17 2012 15:32:29 +0000 Subject: change the permission of sa-jdi.jar only on jit_arches --- diff --git a/java-1.7.0-openjdk.spec b/java-1.7.0-openjdk.spec index 03eb686..ec05c59 100644 --- a/java-1.7.0-openjdk.spec +++ b/java-1.7.0-openjdk.spec @@ -922,6 +922,10 @@ make \ popd >& /dev/null +%ifarch %{jit_arches} +chmod 644 $(pwd)/%{buildoutputdir}/j2sdk-image/lib/sa-jdi.jar +%endif + export JAVA_HOME=$(pwd)/%{buildoutputdir}/j2sdk-image # Build pulseaudio and install it to JDK build location @@ -1449,7 +1453,7 @@ exit 0 %changelog * Wed Oct 17 2012 Dan Horák - 1.7.0.9-2.3.3.fc17.1 -- drop the chmod sa-jdi.jar, it's not needed and works only on jit_arches +- change the permission of sa-jdi.jar only on jit_arches * Fri Oct 12 2012 Deepak Bhole - 1.7.0.9-2.3.3.fc17 - Updated to IcedTea7-forest 2.3.3 primary arches