packages (DEVEL): php/php.spec - check sqlite3 ext ver

glen glen at pld-linux.org
Fri Mar 2 21:59:48 CET 2012


Author: glen                         Date: Fri Mar  2 20:59:48 2012 GMT
Module: packages                      Tag: DEVEL
---- Log message:
- check sqlite3 ext ver

---- Files affected:
packages/php:
   php.spec (1.945.2.12 -> 1.945.2.13) 

---- Diffs:

================================================================
Index: packages/php/php.spec
diff -u packages/php/php.spec:1.945.2.12 packages/php/php.spec:1.945.2.13
--- packages/php/php.spec:1.945.2.12	Fri Mar  2 11:11:38 2012
+++ packages/php/php.spec	Fri Mar  2 21:59:43 2012
@@ -316,6 +316,7 @@
 %define		intlver		1.1.0
 %define		jsonver		1.2.1
 %define		pharver		2.0.1
+%define		sqlite3ver	0.7
 %define		zipver		1.9.1
 
 %define		zend_zts		%{!?with_zts:0}%{?with_zts:1}
@@ -1581,7 +1582,7 @@
 Group:		Libraries
 URL:		http://php.net/manual/en/book.sqlite3.php
 Requires:	%{name}-common = %{epoch}:%{version}-%{release}
-Provides:	php(sqlite3)
+Provides:	php(sqlite3) = %{sqlite3ver}
 
 %description sqlite3
 SQLite is a C library that implements an embeddable SQL database
@@ -1997,6 +1998,12 @@
 	: Update the pharver macro and rebuild.
 	exit 1
 fi
+ver=$(sed -n '/#define PHP_SQLITE3_VERSION/{s/.* "//;s/".*$//;p}' ext/sqlite3/php_sqlite3.h)
+if test "$ver" != "%{sqlite3ver}"; then
+	: Error: Upstream Sqlite3 version is now ${ver}, expecting %{sqlite3ver}.
+	: Update the sqlite3ver macro and rebuild.
+	exit 1
+fi
 ver=$(sed -n '/#define PHP_ZIP_VERSION_STRING /{s/.* "//;s/".*$//;p}' ext/zip/php_zip.h)
 if test "$ver" != "%{zipver}"; then
 	: Error: Upstream ZIP version is now ${ver}, expecting %{zipver}.
@@ -2033,6 +2040,8 @@
 	: Update the intlver macro and rebuild.
 	exit 1
 fi
+.
+
 
 export EXTENSION_DIR="%{php_extensiondir}"
 # configure once (for faster debugging purposes)
@@ -3285,8 +3294,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.945.2.13  2012/03/02 20:59:43  glen
+- check sqlite3 ext ver
+
 Revision 1.945.2.12  2012/03/02 10:11:38  glen
-- cvs ci -m '- up to 5.4.0-RELEASE (still NFY, so don't attempt to merge it anywhere)
+- up to 5.4.0-RELEASE (still NFY, so don't attempt to merge it anywhere)
 
 Revision 1.945.2.11  2012/02/08 12:10:55  glen
 - up to 5.4.0RC7
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/php/php.spec?r1=1.945.2.12&r2=1.945.2.13&f=u



More information about the pld-cvs-commit mailing list