summaryrefslogtreecommitdiffstats
path: root/php-bartlett-PHP-Reflect.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2017-12-13 15:45:49 +0100
committerRemi Collet <remi@remirepo.net>2017-12-13 15:45:49 +0100
commitc6c67c46ee89aa6007fc9a023a7d4b47afb6e184 (patch)
tree0588156103704d8710211856b574e38671096a80 /php-bartlett-PHP-Reflect.spec
parent13b7f9833f0e9ee5827a2a2786227b04629e0b7b (diff)
fix regression with cache configuration from https://github.com/llaville/php-reflect/pull/27
Diffstat (limited to 'php-bartlett-PHP-Reflect.spec')
-rw-r--r--php-bartlett-PHP-Reflect.spec9
1 files changed, 8 insertions, 1 deletions
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 <remi@remirepo.net> - 4.2.1-2
+- fix regression with cache configuration
+ from https://github.com/llaville/php-reflect/pull/27
+
* Tue Dec 12 2017 Remi Collet <remi@remirepo.net> - 4.2.1-1
- Update to 4.2.1 (no change)
- raise dependency on PHP 5.5