packages: php-propel/php-propel.spec, php-propel/mysql-type-deprecation.pat...
glen
glen at pld-linux.org
Thu May 5 18:27:48 CEST 2011
Author: glen Date: Thu May 5 16:27:48 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- Type=ENGINENAME is removed in mysql 5.5, deprecated a bit earlier
---- Files affected:
packages/php-propel:
php-propel.spec (1.16 -> 1.17) , mysql-type-deprecation.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/php-propel/php-propel.spec
diff -u packages/php-propel/php-propel.spec:1.16 packages/php-propel/php-propel.spec:1.17
--- packages/php-propel/php-propel.spec:1.16 Sun Jan 23 12:42:49 2011
+++ packages/php-propel/php-propel.spec Thu May 5 18:27:43 2011
@@ -4,12 +4,13 @@
Summary(pl.UTF-8): Usługa przechowywania i odpytywania obiektów dla PHP5
Name: php-%{pkgname}
Version: 1.4.2
-Release: 4
+Release: 5
License: LGPL
Group: Development/Languages/PHP
Source0: http://files.propelorm.org/%{pkgname}-%{version}.tar.gz
# Source0-md5: 37d0c260bac544d59308e40d4b67026c
Patch0: phing-classpath.patch
+Patch1: mysql-type-deprecation.patch
URL: http://www.propelorm.org/
BuildRequires: rpmbuild(macros) >= 1.300
Requires: php-common >= 4:5.2.8-3
@@ -47,6 +48,7 @@
%prep
%setup -q -n %{pkgname}-%{version}
%patch0 -p1
+%patch1 -p1
cat <<'EOF'> generator/pear/pear-propel-gen.sh
#!/bin/sh
exec phing -f %{php_data_dir}/data/propel_generator/pear-build.xml -Dproject.dir=$*
@@ -100,6 +102,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.17 2011/05/05 16:27:43 glen
+- Type=ENGINENAME is removed in mysql 5.5, deprecated a bit earlier
+
Revision 1.16 2011/01/23 11:42:49 glen
- dir fix
================================================================
Index: packages/php-propel/mysql-type-deprecation.patch
diff -u /dev/null packages/php-propel/mysql-type-deprecation.patch:1.1
--- /dev/null Thu May 5 18:27:48 2011
+++ packages/php-propel/mysql-type-deprecation.patch Thu May 5 18:27:43 2011
@@ -0,0 +1,14 @@
+Type=ENGINE_NAME is deprecated
+Type=ENGINE_NAME is removed in MySQL 5.5
+
+--- propel-1.4.2/generator/classes/propel/engine/builder/sql/mysql/MysqlDDLBuilder.php 2010-04-20 00:59:18.000000000 +0300
++++ propel-1.4.2/generator/classes/propel/engine/builder/sql/mysql/MysqlDDLBuilder.php 2011-05-05 19:25:08.612759788 +0300
+@@ -153,7 +153,7 @@
+ }
+ }
+
+- $script .= "Type=$mysqlTableType";
++ $script .= "Engine=$mysqlTableType";
+
+ $dbVendorSpecific = $table->getDatabase()->getVendorInfoForType($databaseType);
+ $tableVendorSpecific = $table->getVendorInfoForType($databaseType);
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/php-propel/php-propel.spec?r1=1.16&r2=1.17&f=u
More information about the pld-cvs-commit
mailing list