[packages/php-symfony_debug] fix attempted to call function "notexist" test
glen
glen at pld-linux.org
Fri Aug 7 08:13:52 CEST 2015
commit 7f7b2e1779c97b16c4d8b152779a25c6264e85e0
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Fri Aug 7 09:13:21 2015 +0300
fix attempted to call function "notexist" test
https://github.com/symfony/symfony/pull/15483
php-symfony_debug.spec | 2 ++
tests.patch | 13 +++++++++++++
2 files changed, 15 insertions(+)
---
diff --git a/php-symfony_debug.spec b/php-symfony_debug.spec
index b9dcbaa..0ddc599 100644
--- a/php-symfony_debug.spec
+++ b/php-symfony_debug.spec
@@ -12,6 +12,7 @@ License: MIT
Group: Development/Languages/PHP
Source0: https://github.com/symfony/Debug/archive/v%{version}/Debug-%{version}.tar.gz
# Source0-md5: 74b1ec1c41ae362d48b39e424fc78232
+Patch0: tests.patch
URL: http://symfony.com/doc/2.7/components/debug/index.html
%{?with_tests:BuildRequires: %{php_name}-cli}
BuildRequires: %{php_name}-devel >= 4:5.3
@@ -31,6 +32,7 @@ debugging tools.
%prep
%setup -qc
mv Debug-%{version}/* .
+%patch0 -p1
%build
cd Resources/ext
diff --git a/tests.patch b/tests.patch
new file mode 100644
index 0000000..33fc055
--- /dev/null
+++ b/tests.patch
@@ -0,0 +1,13 @@
+https://github.com/symfony/symfony/pull/15483
+
+--- php55-symfony_debug-2.7.3/Resources/ext/tests/003.phpt~ 2015-07-09 19:07:40.000000000 +0300
++++ php55-symfony_debug-2.7.3/Resources/ext/tests/003.phpt 2015-08-07 08:58:41.086847895 +0300
+@@ -56,7 +56,7 @@
+ [message:protected] => Attempted to call function "notexist" from namespace "Symfony\Component\Debug".
+ [string:Exception:private] =>
+ [code:protected] => 0
+- [file:protected] => -
++ [file:protected] => %s
+ [line:protected] => %d
+ [trace:Exception:private] => Array
+ (
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/php-symfony_debug.git/commitdiff/7f7b2e1779c97b16c4d8b152779a25c6264e85e0
More information about the pld-cvs-commit
mailing list