SPECS (DEVEL): php.spec - shared pdo core. i hope the deps are okay

glen glen at pld-linux.org
Wed Oct 19 10:32:57 CEST 2005


Author: glen                         Date: Wed Oct 19 08:32:57 2005 GMT
Module: SPECS                         Tag: DEVEL
---- Log message:
- shared pdo core. i hope the deps are okay

---- Files affected:
SPECS:
   php.spec (1.467.2.17 -> 1.467.2.18) 

---- Diffs:

================================================================
Index: SPECS/php.spec
diff -u SPECS/php.spec:1.467.2.17 SPECS/php.spec:1.467.2.18
--- SPECS/php.spec:1.467.2.17	Tue Oct 18 21:07:32 2005
+++ SPECS/php.spec	Wed Oct 19 10:32:51 2005
@@ -13,7 +13,6 @@
 # - make additional headers added by mail patch configurable
 # - apply -hardened patch by default ?
 # - modularize session, standard (output from pure php -m)?
-# - shared pdo base
 # - having pcre module loaded cli crashes
 #
 # Conditional build:
@@ -77,7 +76,7 @@
 Name:		php
 Version:	5.1.0
 %define	_rc	RC3
-%define	_rel 0.1
+%define	_rel 0.2
 Release:	0.%{_rc}.%{_rel}%{?with_hardening:hardened}
 Epoch:		4
 Group:		Libraries
@@ -990,12 +989,23 @@
 Moduł PHP umożliwiający korzystanie z perlowych wyrażeń regularnych
 (Perl Compatible Regular Expressions)
 
+%package pdo
+Summary:	PHP Data Objects (PDO)
+Group:		Libraries
+Requires(post,preun):	%{name}-common = %{epoch}:%{version}-%{release}
+Requires:	%{name}-common = %{epoch}:%{version}-%{release}
+
+%description pdo
+This is a dynamic shared object (DSO) for PHP that will add PDO
+support.
+
 %package pdo-dblib
 Summary:	PHP Data Objects (PDO) FreeTDS support
 Summary(pl):	Moduł PHP Data Objects (PDO) z wsparciem do FreeTDS
 Group:		Libraries
 Requires(post,preun):	%{name}-common = %{epoch}:%{version}-%{release}
 Requires:	%{name}-common = %{epoch}:%{version}-%{release}
+Requires:	%{name}-pdo = %{epoch}:%{version}-%{release}
 
 %description pdo-dblib
 This is a dynamic shared object (DSO) for PHP that will add PDO
@@ -1011,6 +1021,7 @@
 Group:		Libraries
 Requires(post,preun):	%{name}-common = %{epoch}:%{version}-%{release}
 Requires:	%{name}-common = %{epoch}:%{version}-%{release}
+Requires:	%{name}-pdo = %{epoch}:%{version}-%{release}
 
 %description pdo-mysql
 This is a dynamic shared object (DSO) for PHP that will add PDO MySQL
@@ -1026,6 +1037,7 @@
 Group:		Libraries
 Requires(post,preun):	%{name}-common = %{epoch}:%{version}-%{release}
 Requires:	%{name}-common = %{epoch}:%{version}-%{release}
+Requires:	%{name}-pdo = %{epoch}:%{version}-%{release}
 
 %description pdo-odbc
 This is a dynamic shared object (DSO) for PHP that will add PDO ODBC
@@ -1041,6 +1053,7 @@
 Group:		Libraries
 Requires(post,preun):	%{name}-common = %{epoch}:%{version}-%{release}
 Requires:	%{name}-common = %{epoch}:%{version}-%{release}
+Requires:	%{name}-pdo = %{epoch}:%{version}-%{release}
 
 %description pdo-pgsql
 This is a dynamic shared object (DSO) for PHP that will add PDO
@@ -1056,6 +1069,7 @@
 Group:		Libraries
 Requires(post,preun):	%{name}-common = %{epoch}:%{version}-%{release}
 Requires:	%{name}-common = %{epoch}:%{version}-%{release}
+Requires:	%{name}-pdo = %{epoch}:%{version}-%{release}
 
 %description pdo-sqlite
 This is a dynamic shared object (DSO) for PHP that will add PDO SQLite
@@ -1605,7 +1619,7 @@
 	--enable-mbstring=shared,all \
 	--enable-mbregex \
 	--enable-pcntl=shared \
-	--enable-pdo \
+	--enable-pdo=shared \
 %if %{with mssql} || %{with sybase} || %{with sybase_ct}
 	--with-pdo-dblib=shared \
 %endif
@@ -2791,6 +2805,11 @@
 %attr(755,root,root) %{extensionsdir}/pcre.so
 %endif
 
+%files pdo
+%defattr(644,root,root,755)
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo.ini
+%attr(755,root,root) %{extensionsdir}/pdo.so
+
 %if %{with mssql} || %{with sybase} || %{with sybase_ct}
 %files pdo-dblib
 %defattr(644,root,root,755)
@@ -2976,6 +2995,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.467.2.18  2005/10/19 08:32:51  glen
+- shared pdo core. i hope the deps are okay
+
 Revision 1.467.2.17  2005/10/18 19:07:32  arekm
 - up to RC3 (lib64 patch merged upstream)
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/php.spec?r1=1.467.2.17&r2=1.467.2.18&f=u




More information about the pld-cvs-commit mailing list