sun-java8.spec.in: specfile fix for upstream release 8u152

This commit is contained in:
Silvan Calarco 2017-10-18 15:44:17 +02:00
parent e49a9c03b2
commit ab89e6ee0d

View File

@ -169,10 +169,10 @@ ln -s %{_jvmdir}/%{jredir}/lib/amd64/libnpjp2.so \
install -d -m 755 %{buildroot}%{_jvmprivdir}/%{name}/jce/vanilla
for file in local_policy.jar US_export_policy.jar; do
mv %{buildroot}%{_jvmdir}/%{jredir}/lib/security/$file \
mv %{buildroot}%{_jvmdir}/%{jredir}/lib/security/policy/unlimited/$file \
%{buildroot}%{_jvmprivdir}/%{name}/jce/vanilla
# for ghosts
touch %{buildroot}%{_jvmdir}/%{jredir}/lib/security/$file
touch %{buildroot}%{_jvmdir}/%{jredir}/lib/security/policy/unlimited/$file
done
pushd %{buildroot}%{_jvmdir}
@ -412,11 +412,11 @@ fi
%{_datadir}/fonts/ttf/j2se-%{origin} 56
%{_sbindir}/update-alternatives \
--install %{_jvmdir}/%{jrelnk}/lib/security/local_policy.jar \
--install %{_jvmdir}/%{jrelnk}/lib/security/policy/unlimited/local_policy.jar \
jce_%{javaver}_%{origin}_local_policy %{_jvmprivdir}/%{name}/jce/vanilla/local_policy.jar 56
%{_sbindir}/update-alternatives \
--install %{_jvmdir}/%{jrelnk}/lib/security/US_export_policy.jar \
--install %{_jvmdir}/%{jrelnk}/lib/security/policy/unlimited/US_export_policy.jar \
jce_%{javaver}_%{origin}_us_export_policy %{_jvmprivdir}/%{name}/jce/vanilla/US_export_policy.jar 56
:
@ -549,8 +549,8 @@ fi
%{_jvmdir}/%{jredir}/lib/tzdb.dat
%config(noreplace) %{_jvmdir}/%{jredir}/lib/security/blacklist
%config(noreplace) %{_jvmdir}/%{jredir}/lib/security/trusted.libraries
%ghost %{_jvmdir}/%{jredir}/lib/security/local_policy.jar
%ghost %{_jvmdir}/%{jredir}/lib/security/US_export_policy.jar
%ghost %{_jvmdir}/%{jredir}/lib/security/policy/*limited/local_policy.jar
%ghost %{_jvmdir}/%{jredir}/lib/security/policy/*limited/US_export_policy.jar
%dir %{_jvmdir}/%{jredir}/lib/jfr
%{_jvmdir}/%{jredir}/lib/jfr/*
%{_jvmdir}/%{jredir}/lib/currency.data