1
0
forked from pool/mapserver

Accepting request 114959 from home:tzotsos:test:mapserver

SLES build fixed

OBS-URL: https://build.opensuse.org/request/show/114959
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/mapserver?expand=0&rev=90
This commit is contained in:
Angelos Tzotsos 2012-04-22 17:33:41 +00:00 committed by Git OBS Bridge
parent 21dd76fdcc
commit a3c94f80fb
3 changed files with 11 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sun Apr 22 07:49:04 UTC 2012 - tzotsos@opensuse.org
- fixed SLE_11 SP1 build
-------------------------------------------------------------------
Tue Apr 17 21:42:26 UTC 2012 - tzotsos@opensuse.org

View File

@ -50,8 +50,13 @@ BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: swig
BuildRequires: update-alternatives
BuildRequires: apache2-devel
%if 0%{?sles_version}
BuildRequires: java-devel <= 1.5
BuildRequires: java <= 1.5
%else
BuildRequires: java-devel >= 1.5
BuildRequires: java >= 1.5
%endif
%if 0%{?sles_version} == 10
%ifarch i586
BuildRequires: java-1_5_0-ibm-alsa
@ -60,7 +65,7 @@ BuildRequires: krb5-devel
%endif
BuildRequires: libgcj-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
Patch: mapserver-6.0.1_buildfix.patch
Patch: mapserver-6.0.2_buildfix.patch
%define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")
%define _cgibindir /srv/www/cgi-bin