From c6c67c46ee89aa6007fc9a023a7d4b47afb6e184 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 13 Dec 2017 15:45:49 +0100 Subject: fix regression with cache configuration from https://github.com/llaville/php-reflect/pull/27 --- 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 f8bb698..e5bb589 100644 --- a/php-bartlett-PHP-Reflect.spec +++ b/php-bartlett-PHP-Reflect.spec @@ -27,7 +27,7 @@ Name: php-bartlett-PHP-Reflect Version: 4.2.1 -%global specrel 1 +%global specrel 2 Release: %{?gh_date:1%{specrel}.%{?prever}%{!?prever:%{gh_date}git%{gh_short}}}%{!?gh_date:%{specrel}}%{?dist} Summary: Adds the ability to reverse-engineer PHP @@ -42,6 +42,8 @@ Source1: %{name}-autoload.php # Enable cache plugin Patch0: %{name}-4.0.0-rpm.patch +Patch1: https://patch-diff.githubusercontent.com/raw/llaville/php-reflect/pull/27.patch + BuildArch: noarch BuildRequires: php(language) >= 5.5 %if %{with_tests} @@ -162,6 +164,7 @@ Documentation: http://php5.laurent-laville.org/reflect/manual/current/en/ %patch0 -p1 -b .rpm cp %{SOURCE1} src/Bartlett/Reflect/autoload.php +%patch1 -p1 sed -e 's/@package_version@/%{version}%{?prever}/' \ -i $(find src -name \*.php) bin/phpreflect @@ -214,6 +217,10 @@ fi %changelog +* Tue Dec 12 2017 Remi Collet - 4.2.1-2 +- fix regression with cache configuration + from https://github.com/llaville/php-reflect/pull/27 + * Tue Dec 12 2017 Remi Collet - 4.2.1-1 - Update to 4.2.1 (no change) - raise dependency on PHP 5.5 -- cgit