diff --git a/jdom2.spec b/jdom2.spec
index f7c7fa3..0b76b45 100644
--- a/jdom2.spec
+++ b/jdom2.spec
@@ -26,10 +26,10 @@ Patch100:      bd3ab78370098491911d7fe9d7a43b97144a234e.patch
 Patch101:      dd4f3c2fc7893edd914954c73eb577f925a7d361.patch
 Patch102:      07f316957b59d305f04c7bdb26292852bcbc2eb5.patch
 
-BuildRequires: javapackages-local
 %if %{with bootstrap}
 BuildRequires:  javapackages-bootstrap
 %else
+BuildRequires: javapackages-local
 BuildRequires: ant
 BuildRequires: ant-junit
 %endif