[java-1.6.0-openjdk] Fix rhbz#741821 by manually creating /etc/.java/.systemPrefs dir
Omair Majid
omajid at fedoraproject.org
Fri Nov 25 21:02:30 UTC 2011
commit 6e86b3c611afae0e079290d58798ca48957f9cd0
Author: Omair Majid <omajid at redhat.com>
Date: Fri Nov 25 16:01:05 2011 -0500
Fix rhbz#741821 by manually creating /etc/.java/.systemPrefs dir
java-1.6.0-openjdk.spec | 11 ++++++++++-
1 files changed, 10 insertions(+), 1 deletions(-)
---
diff --git a/java-1.6.0-openjdk.spec b/java-1.6.0-openjdk.spec
index 1203af3..57ac52d 100644
--- a/java-1.6.0-openjdk.spec
+++ b/java-1.6.0-openjdk.spec
@@ -139,7 +139,7 @@
Name: java-%{javaver}-%{origin}
Version: %{javaver}.%{buildver}
-Release: 59.%{icedteaver}%{?dist}
+Release: 60.%{icedteaver}%{?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
@@ -542,6 +542,10 @@ for e in jconsole policytool ; do
--dir=$RPM_BUILD_ROOT%{_datadir}/applications $e.desktop
done
+# Install /etc/.java/.systemPrefs/ directory
+# See https://bugzilla.redhat.com/show_bug.cgi?id=741821
+mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/.java/.systemPrefs
+
# Find JRE directories.
find $RPM_BUILD_ROOT%{_jvmdir}/%{jredir} -type d \
| grep -v jre/lib/security \
@@ -808,6 +812,8 @@ exit 0
%{_mandir}/man1/tnameserv-%{name}.1*
%{_mandir}/man1/unpack200-%{name}.1*
%{_jvmdir}/%{jredir}/lib/security/nss.cfg
+%{_sysconfdir}/.java/
+%{_sysconfdir}/.java/.systemPrefs
%files devel
%defattr(-,root,root,-)
@@ -885,6 +891,9 @@ exit 0
%doc %{_javadocdir}/%{name}
%changelog
+* Fri Nov 25 2011 Omair Majid <omajid at redhat.com> - 1:1.6.0.0-60.1.10.3
+- Fix rhbz#741821
+
* Fri Jul 22 2011 Jiri Vanek <jvanek at redhat.com> - 1:1.6.0.0-59.1.10.3
- updated to icedtea6 1.10.3
- http://blog.fuseyism.com/index.php/2011/07/21/icedtea6-1103-released/
More information about the scm-commits
mailing list