From 46b3bc9f90cdad625d652ebb7171ea51dc855bf6 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 29 Sep 2020 14:50:18 +0200 Subject: v1.12.1 --- php-phpspec-prophecy.spec | 27 +++++++++++++++++++++++---- 1 file changed, 23 insertions(+), 4 deletions(-) (limited to 'php-phpspec-prophecy.spec') diff --git a/php-phpspec-prophecy.spec b/php-phpspec-prophecy.spec index da1a7e2..a6574bc 100644 --- a/php-phpspec-prophecy.spec +++ b/php-phpspec-prophecy.spec @@ -7,7 +7,7 @@ # Please, preserve the changelog entries # %global bootstrap 0 -%global gh_commit 765cd5d5d237525f8bbadaec5dc161c83a369119 +%global gh_commit 8ce87516be71aae9b956f81906aaf0338e0d8a2d %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner phpspec %global gh_project prophecy @@ -19,8 +19,8 @@ %endif Name: php-phpspec-prophecy -Version: 1.12.0 -Release: 2%{?dist} +Version: 1.12.1 +Release: 1%{?dist} Summary: Highly opinionated mocking framework for PHP License: MIT @@ -100,9 +100,25 @@ phpab --template fedora --output src/Prophecy/autoload.php src cat << 'EOF' | tee -a src/Prophecy/autoload.php \Fedora\Autoloader\Dependencies::required([ + '%{_datadir}/php/Doctrine/Instantiator/autoload.php', '%{_datadir}/php/phpDocumentor/Reflection/DocBlock5/autoload.php', ]); -/* Comparator and RecursionContext pulled by phpspec or phpunit */ +if (!class_exists('SebastianBergmann\\Comparator\\Comparator')) { // v2 from phpunit, v1 from phpspec + \Fedora\Autoloader\Dependencies::required([ + [ + '%{_datadir}/php/SebastianBergmann/Comparator4/autoload.php', + '%{_datadir}/php/SebastianBergmann/Comparator3/autoload.php', + ], + ]); +} +if (!class_exists('SebastianBergmann\\RecursionContext\\Context')) { // v2 from phpunit, v1 from phpspec + \Fedora\Autoloader\Dependencies::required([ + [ + '%{_datadir}/php/SebastianBergmann/RecursionContext4/autoload.php', + '%{_datadir}/php/SebastianBergmann/RecursionContext3/autoload.php', + ], + ]); +} EOF @@ -153,6 +169,9 @@ exit $ret %changelog +* Tue Sep 29 2020 Remi Collet - 1.12.1-1 +- update to 1.12.1 + * Mon Sep 28 2020 Remi Collet - 1.12.0-2 - switch to classmap autoloader -- cgit