Fix incorrect permissions on jars

This commit is contained in:
Omair Majid 2013-05-20 23:37:10 -04:00
parent 0bc19c90ca
commit a3cfe1d0eb

View File

@ -136,7 +136,7 @@
Name: java-%{javaver}-%{origin}
Version: %{javaver}.%{buildver}
Release: 0.6.%{jdk8_version}%{?dist}
Release: 0.7.%{jdk8_version}%{?dist}
# java-1.5.0-ibm from jpackage.org set Epoch to 1 for unknown reasons,
# and this change was brought into RHEL-4. java-1.5.0-ibm packages
# also included the epoch in their virtual provides. This created a
@ -424,6 +424,9 @@ bash ../../configure \
make SCTP_WERROR= DEBUG_BINARIES=true DISABLE_INTREE_EC=true LOG=trace all
# the build (erroneously) removes read permissions from some jars
find images/j2sdk-image -iname '*.jar' -exec chmod ugo+r {} \;
popd >& /dev/null
export JAVA_HOME=$(pwd)/%{buildoutputdir}/images/j2sdk-image
@ -895,6 +898,9 @@ exit 0
%doc %{buildoutputdir}/images/j2sdk-image/jre/LICENSE
%changelog
* Mon May 20 2013 Omair Majid <omajid@redhat.com> - 1:1.8.0.0-0.7.b89
- Fix incorrect permissions on jars
* Fri May 10 2013 Adam Williamson <awilliam@redhat.com>
- update scriptlets to follow current guidelines for updating icon cache