Explorar el Código

cleanup packaging again

Ralf S. Engelschall hace 22 años
padre
commit
2e144d2e50
Se han modificado 1 ficheros con 2 adiciones y 5 borrados
  1. 2 5
      php/php.spec

+ 2 - 5
php/php.spec

@@ -211,11 +211,9 @@ AutoReqProv:  no
     #   configure package
     cflags="%{l_cflags -O}"
     cppflags="%{l_cppflags}"
-    ldflags=""
+    ldflags="%{l_ldflags}"
     libs=""
 %if "%{with_gdbm}" == "yes"
-    cflags="$cflags %{l_cppflags}"
-    ldflags="$ldflags %{l_ldflags}"
     libs="$libs -lndbm -lgdbm"
 %endif
 %if "%{with_gd}" == "yes"
@@ -224,7 +222,7 @@ AutoReqProv:  no
 %if "%{with_gettext}" == "yes"
     libs="$libs -liconv"
 %endif
-%if  "%{with_openldap}" == "yes" && "%{with_openldapsasl}" == "yes"
+%if "%{with_openldap}" == "yes" && "%{with_openldapsasl}" == "yes"
     libs="$libs -lsasl2"
 %endif
 %if "%{with_imap}" == "yes"
@@ -237,7 +235,6 @@ AutoReqProv:  no
     ORACLE_HOME="`%{l_prefix}/etc/rc --query oracle_home`"
     export ORACLE_HOME
 %endif
-
     CC="%{l_cc}" \
     CFLAGS="$cflags" \
     CPPFLAGS="$cppflags" \