summaryrefslogtreecommitdiffstats
path: root/php-phpdocumentor-reflection-docblock.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-phpdocumentor-reflection-docblock.spec')
-rw-r--r--php-phpdocumentor-reflection-docblock.spec10
1 files changed, 9 insertions, 1 deletions
diff --git a/php-phpdocumentor-reflection-docblock.spec b/php-phpdocumentor-reflection-docblock.spec
index 72a96ad..cdcccc9 100644
--- a/php-phpdocumentor-reflection-docblock.spec
+++ b/php-phpdocumentor-reflection-docblock.spec
@@ -16,7 +16,7 @@
Name: php-phpdocumentor-reflection-docblock
Version: 3.2.1
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: DocBlock parser
Group: Development/Libraries
@@ -28,6 +28,9 @@ URL: https://github.com/%{gh_owner}/%{gh_project}
Source0: %{name}-%{version}-%{gh_commit}.tar.gz
Source1: %{name}-get-source.sh
+# https://github.com/phpDocumentor/ReflectionDocBlock/pull/113
+Patch0: %{name}-pr113.patch
+
BuildArch: noarch
BuildRequires: php-fedora-autoloader-devel
%if %{with_tests}
@@ -89,6 +92,7 @@ DocBlocks or otherwise retrieve information that is embedded in a DocBlock.
%prep
%setup -q -n %{gh_project}-%{gh_commit}
+%patch0 -p1
sed 's#vendor/mockery/mockery/library#%{_datadir}/php#' phpunit.xml.dist \
> phpunit.xml
@@ -162,6 +166,10 @@ exit $RETURN_CODE
%changelog
+* Mon Aug 7 2017 Remi Collet <remi@remirepo.net> - 3.2.1-2
+- add patch to fix BC break, thanks to Koschei, from
+ https://github.com/phpDocumentor/ReflectionDocBlock/pull/113
+
* Sat Aug 05 2017 Shawn Iwinski <shawn@iwin.ski> - 3.2.1-1
- Update to 3.2.1 (RHBZ #1471379)