Author: glen                         Date: Wed Sep  5 21:49:16 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- prefent segfault if no ini setting is set; rel 4

---- Files affected:
SPECS:
   php-pecl-session_mysql.spec (1.16 -> 1.17) 

---- Diffs:

================================================================
Index: SPECS/php-pecl-session_mysql.spec
diff -u SPECS/php-pecl-session_mysql.spec:1.16 
SPECS/php-pecl-session_mysql.spec:1.17
--- SPECS/php-pecl-session_mysql.spec:1.16      Thu Aug 30 12:36:54 2007
+++ SPECS/php-pecl-session_mysql.spec   Wed Sep  5 23:49:11 2007
@@ -4,7 +4,7 @@
 Summary(pl.UTF-8):     Obsługa zapisywania sesji w bazie MySQL dla PHP
 Name:          php-pecl-%{_modname}
 Version:       1.9
-Release:       3
+Release:       4
 License:       MIT
 Group:         Development/Languages/PHP
 Source0:       
http://websupport.sk/~stanojr/projects/session_mysql/%{_modname}-%{version}.tgz
@@ -13,6 +13,7 @@
 Source2:       %{name}.sql
 Patch0:                %{name}-leak.patch
 Patch1:                %{name}-reconnect.patch
+Patch2:                %{name}-segv.patch
 URL:           http://websupport.sk/~stanojr/projects/session_mysql/
 BuildRequires: mysql-devel
 BuildRequires: php-devel >= 3:5.0.0
@@ -38,12 +39,17 @@
 %setup -q -n %{_modname}-%{version}
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 cp -a %{SOURCE2} database.sql
 
 %build
-phpize
-%configure \
+[ config.m4 -ot configure ] || rm -f configure
+[ -f configure ] || phpize
+[ configure -ot Makefile ] || rm -f Makefile
+if [ ! -f Makefile ]; then
+       %configure \
        --with-mysql=/usr
+fi
 %{__make}
 
 %install
@@ -76,6 +82,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.17  2007/09/05 21:49:11  glen
+- prefent segfault if no ini setting is set; rel 4
+
 Revision 1.16  2007/08/30 10:36:54  glen
 - the ping check was reversed; rel 3
 
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/php-pecl-session_mysql.spec?r1=1.16&r2=1.17&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to