From Fedora Project Wiki

diff --git a/nyquist.spec b/nyquist.spec
index 1797187..f755802 100644
--- a/nyquist.spec
+++ b/nyquist.spec
@@ -1,6 +1,6 @@
 Name:           nyquist
 Version:        3.04
-Release:        3b%{?dist}
+Release:        4b%{?dist}
 Summary:        Sound synthesis and composition language with a Lisp syntax

 Group:          Applications/Multimedia
@@ -12,9 +12,9 @@ BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires:  alsa-lib-devel
 BuildRequires:  liblo-devel
 BuildRequires:  portaudio-devel
-BuildRequires:  java-1.6.0-openjdk-devel
+BuildRequires:  java-1.7.0-openjdk-devel
 BuildRequires:  dos2unix
-Requires:       java-1.6.0-openjdk
+Requires:       java-1.7.0-openjdk

 %description
 Nyquist is a language for sound synthesis and music
@@ -94,6 +94,9 @@ rm -rf $RPM_BUILD_ROOT


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