Search
j0ke.net Open Build Service
>
Projects
>
internetx
:
php5
>
php-5.2.12
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 8
[-]
[+]
Changed
php5.spec
@@ -17,6 +17,11 @@ %define with_suhosin_patch 1 %define pkg_name php5 %define with_spell 1 +%if 0%{?sles_version} != 11 +%define with_dynsess 1 +%else +%define with_dynsess 0 +%endif %if 0%{?suse_version} < 930 %define with_spell 0 BuildRequires: heimdal-devel @@ -457,6 +462,7 @@ The PHP Group See http://www.php.net/credits.php for more details +%if %{with_dynsess} %package hash Provides: php-hash Summary: PHP5 Extension Module @@ -473,6 +479,7 @@ -------- The PHP Group See http://www.php.net/credits.php for more details +%endif %package iconv Provides: php-iconv @@ -1303,7 +1310,12 @@ %endif --with-gettext=shared \ --with-gmp=shared \ - --enable-hash=shared \ +%if %{with_dynsess} + --enable-session=shared \ +%else + --enable-session \ + --enable-hash \ +%endif --with-iconv=shared \ --with-imap=shared \ --with-kerberos \ @@ -1643,10 +1655,12 @@ %{extension_dir}/gmp.so %config(noreplace) %{php_sysconf}/conf.d/gmp.ini +%if %{with_dynsess} %files hash %defattr(644,root,root,755) %{extension_dir}/hash.so %config(noreplace) %{php_sysconf}/conf.d/hash.ini +%endif %files iconv %defattr(644,root,root,755)