From Fedora Project Wiki

diff --git a/opticalraytracer.spec b/opticalraytracer.spec
index f2fad58..46795a5 100644
--- a/opticalraytracer.spec
+++ b/opticalraytracer.spec
@@ -1,6 +1,6 @@
 Name:          opticalraytracer
 Version:       2.7
-Release:       3%{?dist}
+Release:       4%{?dist}
 Summary:       Utility that analyzes systems of lenses

 Group:         Amusements/Graphics
@@ -12,7 +12,7 @@ BuildRoot:    %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:     noarch

 BuildRequires: desktop-file-utils
-BuildRequires: java-1.6.0-openjdk-devel
+BuildRequires: java-1.7.0-openjdk-devel
 BuildRequires: java-devel
 BuildRequires: jpackage-utils
 BuildRequires: ant
@@ -102,6 +102,9 @@ fi


 %changelog
+* Tue Feb 21 2012 Pavel Tisnovsky <ptisnovs@redhat.com> - 2.7-4
+- Updated specfile for OpenJDK7 (https://fedoraproject.org/wiki/Java7_Package_Rebuild_Status)
+
 * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.7-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild