SPECS: php-pecl-PDO_ODBC.spec - up to 1.0.1, strict deps with PDO API

glen glen at pld-linux.org
Tue May 2 23:59:23 CEST 2006


Author: glen                         Date: Tue May  2 21:59:23 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- up to 1.0.1, strict deps with PDO API

---- Files affected:
SPECS:
   php-pecl-PDO_ODBC.spec (1.12 -> 1.13) 

---- Diffs:

================================================================
Index: SPECS/php-pecl-PDO_ODBC.spec
diff -u SPECS/php-pecl-PDO_ODBC.spec:1.12 SPECS/php-pecl-PDO_ODBC.spec:1.13
--- SPECS/php-pecl-PDO_ODBC.spec:1.12	Tue May  2 23:34:52 2006
+++ SPECS/php-pecl-PDO_ODBC.spec	Tue May  2 23:59:18 2006
@@ -1,4 +1,9 @@
 # $Revision$, $Date$
+# TODO
+# - fix configure:
+#   configure: error:
+#   You've configured extension pdo_odbc, which depends on extension pdo,
+#   but you've either not enabled pdo, or have disabled it.
 %define		_modname	PDO_ODBC
 %define		_smodname	pdo_odbc
 %define		_status		beta
@@ -7,18 +12,20 @@
 Summary:	%{_modname} - ODBC v3 Interface driver for PDO
 Summary(pl):	%{_modname} - sterownik do interfejsu ODBC v3 dla PDO
 Name:		php-pecl-%{_modname}
-Version:	0.2
-Release:	5
+Version:	1.0.1
+Release:	1
 License:	PHP
 Group:		Development/Languages/PHP
 Source0:	http://pecl.php.net/get/%{_modname}-%{version}.tgz
-# Source0-md5:	d172ca070968ada26be5710b7fbdbed3
+# Source0-md5:	7f355fb5547f965d360e3f6c619039e0
 URL:		http://pecl.php.net/package/PDO_ODBC/
 BuildRequires:	php-devel >= 3:5.0.0
 BuildRequires:	php-pecl-PDO-devel
-BuildRequires:	rpmbuild(macros) >= 1.254
+BuildRequires:	php-pecl-PDO
+BuildRequires:	rpmbuild(macros) >= 1.292
 BuildRequires:	unixODBC-devel
 %{?requires_php_extension}
+%{?requires_php_pdo_module}
 Requires:	%{_sysconfdir}/conf.d
 Requires:	php-pecl-PDO
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -43,6 +50,7 @@
 %build
 cd %{_modname}-%{version}
 phpize
+PHP_PDO_SHARED=yes \
 %configure \
 	--with-pdo-odbc=unixODBC,/usr
 %{__make}
@@ -82,6 +90,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.13  2006/05/02 21:59:18  glen
+- up to 1.0.1, strict deps with PDO API
+
 Revision 1.12  2006/05/02 21:34:52  glen
 - does not obsolete pear name, it was never there
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/php-pecl-PDO_ODBC.spec?r1=1.12&r2=1.13&f=u



More information about the pld-cvs-commit mailing list