This commit is contained in:
Remi Collet 2020-09-18 09:03:51 +02:00
commit 1cf4ff70c8
3 changed files with 15 additions and 5 deletions

View file

@ -8,7 +8,7 @@
#
# Please, preserve the changelog entries
#
%global gh_commit d870572532cd70bc3fab58f2e23ad423c8404c44
%global gh_commit 069a785b2141f5bcf49f3e353548dc1cce6df556
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global gh_owner phpDocumentor
%global gh_project ReflectionDocBlock
@ -16,7 +16,7 @@
%bcond_without tests
Name: php-phpdocumentor-reflection-docblock%{major}
Version: 5.2.1
Version: 5.2.2
Release: 1%{?dist}
Summary: DocBlock parser
@ -38,9 +38,14 @@ BuildRequires: (php-composer(webmozart/assert) >= 1.9.1 with php-
BuildRequires: (php-composer(phpdocumentor/reflection-common) >= 2.2 with php-composer(phpdocumentor/reflection-common) < 3)
# From composer.json, require-dev
# "mockery/mockery": "~1.3.2"
BuildRequires: (php-composer(mockery/mockery) >= 1.3.2 with php-composer(mockery/mockery) < 2)
%if 0%{?fedora} >= 27 || 0%{?rhel} >= 9
BuildRequires: phpunit9
%global phpunit %{_bindir}/phpunit9
%else
BuildRequires: phpunit8
%global phpunit %{_bindir}/phpunit8
%endif
BuildRequires: (php-composer(mockery/mockery) >= 1.3.2 with php-composer(mockery/mockery) < 2)
# From phpcompatinfo report for 5.0.0
BuildRequires: php-reflection
BuildRequires: php-pcre
@ -85,7 +90,8 @@ sed 's#vendor/mockery/mockery/library/Mockery#%{_datadir}/php/Mockery1#' phpunit
> phpunit.xml
# single directory tree
mv src/*php src/DocBlock/
mv src/*php src/DocBlock/
mv src/Exception src/DocBlock/
%build
@ -151,6 +157,9 @@ exit $RETURN_CODE
%changelog
* Fri Sep 18 2020 Remi Collet <remi@remirepo.net> - 5.2.2-1
- update to 5.2.2
* Mon Aug 17 2020 Remi Collet <remi@remirepo.net> - 5.2.1-1
- update to 5.2.1