From ab89e6ee0de18a817f85c09bf3a93ca4d67e4784 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Wed, 18 Oct 2017 15:44:17 +0200 Subject: [PATCH] sun-java8.spec.in: specfile fix for upstream release 8u152 --- SRPMS/sun-java8/sun-java8.spec.in | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/SRPMS/sun-java8/sun-java8.spec.in b/SRPMS/sun-java8/sun-java8.spec.in index 186b717..856cf7b 100644 --- a/SRPMS/sun-java8/sun-java8.spec.in +++ b/SRPMS/sun-java8/sun-java8.spec.in @@ -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