diff options
-rw-r--r-- | php-phpspec-prophecy.spec | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/php-phpspec-prophecy.spec b/php-phpspec-prophecy.spec index 0e6923f..3831cb1 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 8ff0384cd5d87e038297e79d85c99e4b2dcf0e61 +%global gh_commit b20034be5efcdab4fb60ca3a29cba2949aead160 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner phpspec %global gh_project prophecy @@ -19,7 +19,7 @@ %endif Name: php-phpspec-prophecy -Version: 1.11.0 +Version: 1.11.1 Release: 1%{?dist} Summary: Highly opinionated mocking framework for PHP @@ -115,6 +115,10 @@ cp -pr src/* %{buildroot}%{_datadir}/php mkdir vendor phpab --output vendor/autoload.php fixtures +cat << 'EOF' | tee -a vendor/autoload.php +require_once '%{buildroot}%{_datadir}/php/Prophecy/autoload.php'; +EOF + : check autoloader php %{buildroot}%{_datadir}/php/Prophecy/autoload.php @@ -129,6 +133,7 @@ for cmd in php php72 php73 php74; do %{_bindir}/phpspec run --format pretty --verbose --no-ansi || ret=1 $cmd -d include_path=.:%{buildroot}%{_datadir}/php:%{_datadir}/php \ + -d auto_prepend_file=vendor/autoload.php \ %{_bindir}/phpunit8 || ret=1 fi done @@ -148,6 +153,9 @@ exit $ret %changelog +* Wed Jul 8 2020 Remi Collet <remi@remirepo.net> - 1.11.1-1 +- update to 1.11.1 + * Wed Jul 8 2020 Remi Collet <remi@remirepo.net> - 1.11.0-1 - update to 1.11.0 - raise dependency on PHP 7.2 |