[java-1.7.0-openjdk] change the permission of sa-jdi.jar only on jit_arches

Dan Horák sharkcz at fedoraproject.org
Wed Oct 17 15:36:08 UTC 2012


commit b7ffecedef7ae3e4c3fd3a64180a45bc045aa2e5
Author: Dan Horák <dan at danny.cz>
Date:   Wed Oct 17 17:32:29 2012 +0200

    change the permission of sa-jdi.jar only on jit_arches

 java-1.7.0-openjdk.spec |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/java-1.7.0-openjdk.spec b/java-1.7.0-openjdk.spec
index 93b8d59..7a95789 100644
--- a/java-1.7.0-openjdk.spec
+++ b/java-1.7.0-openjdk.spec
@@ -918,6 +918,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
@@ -1445,7 +1449,7 @@ exit 0
 
 %changelog
 * Wed Oct 17 2012 Dan Horák <dan[at]danny.cz> - 1.7.0.9-2.3.3.fc19.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
 
 * Tue Oct 16 2012 Deepak Bhole <dbhole at redhat.com> - 1.7.0.9-2.3.3.fc19
 - Updated to IcedTea7-forest 2.3.3 primary arches


More information about the scm-commits mailing list