configure.ac,fedora/lasso.spec: remove expat dependency

This commit is contained in:
Benjamin Dauvergne 2013-12-19 10:14:52 +01:00
parent ddc10efa2c
commit c5659068fe
2 changed files with 1 additions and 13 deletions

View File

@ -459,18 +459,6 @@ AC_SUBST(PHP5_PREFIX)
AC_SUBST(PHP5_INCLUDE_DIR)
AC_SUBST(PHP5_CONFIG_DIR)
dnl Check for expat
have_expat_include=no
if test $MINGW -eq 1; then
AC_CHECK_LIB(xmlparse, XML_ParserCreate, have_expat_lib=yes, have_expat_lib=no)
else
AC_CHECK_LIB(expat, XML_ParserCreate, have_expat_lib=yes, have_expat_lib=no)
fi
if test x$have_expat_lib = xno; then
enable_php5=no
fi
AC_MSG_CHECKING(for PHP 5 development files)
if $PHP5_CONFIG --version | grep -q "^5" || test "x$ENABLE_PHP5_FORCE" = "xyes"
then

View File

@ -80,7 +80,7 @@ supplied by %{name}.
%package php
Summary: PHP module for %{name}
Group: Development/Libraries
BuildRequires: php-devel >= 5.0, expat-devel
BuildRequires: php-devel >= 5.0
BuildRequires: python-lxml
Requires: php >= 5.0
Requires: %{name} = %{version}-%{release}