diff --git a/java-cup-bootstrap.spec b/java-cup-bootstrap.spec
index 0fc5351..f775d90 100644
--- a/java-cup-bootstrap.spec
+++ b/java-cup-bootstrap.spec
@@ -52,7 +52,7 @@ BuildArch: noarch
%if %{without bootstrap}
BuildRequires: java-cup-bootstrap
BuildRequires: javapackages-local
-BuildRequires: jflex
+BuildRequires: jflex-bootstrap
Conflicts: java-cup-bootstrap
%else
Conflicts: java-cup
diff --git a/java-cup-classpath.patch b/java-cup-classpath.patch
index 60d2133..1e5c518 100644
--- a/java-cup-classpath.patch
+++ b/java-cup-classpath.patch
@@ -7,7 +7,7 @@
-
-
+
-+
++
diff --git a/java-cup.spec b/java-cup.spec
index a5b5845..ca8ef47 100644
--- a/java-cup.spec
+++ b/java-cup.spec
@@ -51,7 +51,7 @@ BuildArch: noarch
%if %{without bootstrap}
BuildRequires: java-cup-bootstrap
BuildRequires: javapackages-local
-BuildRequires: jflex
+BuildRequires: jflex-bootstrap
Conflicts: java-cup-bootstrap
%else
Conflicts: java-cup