diff --git a/mapserver.spec b/mapserver.spec index 5651607..d5c08ad 100644 --- a/mapserver.spec +++ b/mapserver.spec @@ -13,7 +13,6 @@ Requires: mysql #Requires: python #Requires: httpd BuildRequires: xorg-x11-libXpm-devel -BuildRequires: php-devel BuildRequires: rpm, gcc, gcc-c++ BuildRequires: postgresql-devel BuildRequires: mysql-devel @@ -25,8 +24,10 @@ BuildRequires: gd-devel >= 2.0.16 #BuildRequires: python-devel %if 0%{?suse_version} >= 1030 BuildRequires: libcurl-devel +BuildRequires: php-devel %else BuildRequires: curl-devel +BuildRequires: php4-devel %endif BuildRequires: zlib-devel BuildRequires: libxml2-devel