Author: glen Date: Mon Aug 30 16:27:09 2010 GMT Module: packages Tag: HEAD ---- Log message: - up to 1.10.8, use php -l for syntax lint as runkit segfaults in php 5.3
---- Files affected: packages/ZendFramework: ZendFramework.spec (1.87 -> 1.88) ---- Diffs: ================================================================ Index: packages/ZendFramework/ZendFramework.spec diff -u packages/ZendFramework/ZendFramework.spec:1.87 packages/ZendFramework/ZendFramework.spec:1.88 --- packages/ZendFramework/ZendFramework.spec:1.87 Sun Aug 1 15:22:47 2010 +++ packages/ZendFramework/ZendFramework.spec Mon Aug 30 18:27:03 2010 @@ -10,20 +10,19 @@ Summary: Zend Framework Summary(pl.UTF-8): Szkielet Zend Name: ZendFramework -Version: 1.10.7 +Version: 1.10.8 Release: 1 License: New BSD License Group: Development/Languages/PHP Source0: http://framework.zend.com/releases/%{name}-%{version}/%{name}-%{version}.tar.gz -# Source0-md5: e8c6a473f12dbf0db31e48849ffa18b6 +# Source0-md5: 2c758f0eff7dd68ddeb491fc75dd9c4c Source1: http://framework.zend.com/releases/%{name}-%{version}/%{name}-%{version}-manual-en.tar.gz -# Source1-md5: 64052b1b8bde250a17116a429caefb33 +# Source1-md5: e83bb75da22799e669b2ea4ea1d2b5e3 Source2: %{name}-find-lang.sh Patch0: %{name}-additional-locales.patch Patch1: %{name}-deps.patch URL: http://framework.zend.com/ BuildRequires: /usr/bin/php -%{?with_tests:BuildRequires: php-pecl-runkit} BuildRequires: rpm-php-pearprov >= 4.4.2-11 BuildRequires: sed >= 4.0 Requires: php-common >= 4:5.1.4 @@ -1456,22 +1455,10 @@ %build %if %{with tests} -# check *.php files syntax using runkit extension lint_php() { - php -r ' - $errors = 0; - array_shift($argv); - echo "Checking syntax of ", count($argv), " PHP files"; - foreach ($argv as $file) { - echo "."; - if (!runkit_lint_file($file)) { - echo "PHP Lint: $file\n"; - $errors++; - } - } - echo "\nDONE!\n"; - exit($errors ? 1 : 0); - ' $(find library -name '*.php') + for a in $(find library -name '*.php'); do + php -l $a + done } lint_php %endif @@ -1947,6 +1934,9 @@ All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +Revision 1.88 2010/08/30 16:27:03 glen +- up to 1.10.8, use php -l for syntax lint as runkit segfaults in php 5.3 + Revision 1.87 2010/08/01 13:22:47 glen - up to 1.10.7 ================================================================ ---- CVS-web: http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/ZendFramework/ZendFramework.spec?r1=1.87&r2=1.88&f=u _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
