diff --git a/mapserver.spec b/mapserver.spec index b8b01b0..764c5d0 100644 --- a/mapserver.spec +++ b/mapserver.spec @@ -38,10 +38,10 @@ BuildRequires: libpng-devel BuildRequires: libtiff-devel BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: swig -BuildRequires: java-devel == 1.5 BuildRequires: update-alternatives BuildRequires: apache2-devel -BuildRequires: java == 1.5 +BuildRequires: java-devel >= 1.5 +BuildRequires: java >= 1.5 %if 0%{?sles_version} == 10 %ifarch i586 BuildRequires: java-1_5_0-ibm-alsa