From 11ce67f6cfab8a2af82f6d39c128777fae0f5123 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 10 Aug 2016 11:04:31 +0200 Subject: php-bartlett-PHP-Reflect: fix test --- php-bartlett-PHP-Reflect.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'php-bartlett-PHP-Reflect.spec') diff --git a/php-bartlett-PHP-Reflect.spec b/php-bartlett-PHP-Reflect.spec index 842ee0b..996adee 100644 --- a/php-bartlett-PHP-Reflect.spec +++ b/php-bartlett-PHP-Reflect.spec @@ -21,7 +21,7 @@ Name: php-bartlett-PHP-Reflect Version: 4.0.1 -%global specrel 1 +%global specrel 2 Release: %{?gh_date:0.%{specrel}.%{?prever}%{!?prever:%{gh_date}git%{gh_short}}}%{!?gh_date:%{specrel}}%{?dist} Summary: Adds the ability to reverse-engineer PHP @@ -35,6 +35,8 @@ Source1: %{name}-autoload.php # Enable cache plugin Patch0: %{name}-4.0.0-rpm.patch +# See https://github.com/llaville/php-reflect/pull/22 +Patch1: %{name}-pr22.patch BuildArch: noarch BuildRequires: php(language) >= 5.4.0 @@ -156,6 +158,7 @@ Documentation: http://php5.laurent-laville.org/reflect/manual/current/en/ %setup -q -n %{gh_project}-%{gh_commit} %patch0 -p1 -b .rpm +%patch1 -p1 -b .pr22 cp %{SOURCE1} src/Bartlett/Reflect/autoload.php sed -e 's/@package_version@/%{version}%{?prever}/' \ @@ -220,6 +223,10 @@ fi %changelog +* Wed Aug 10 2016 Remi Collet - 4.0.1-2 +- fix test suite to work with all Monolog versions + from https://github.com/llaville/php-reflect/pull/22 + * Wed Jul 6 2016 Remi Collet - 4.0.1-1 - update to 4.0.1 - rewrite autoloader -- cgit