diff --git a/.gitignore b/.gitignore index be41b63..c9eb47c 100644 --- a/.gitignore +++ b/.gitignore @@ -15,3 +15,4 @@ clog /php-phpspec-prophecy-1.7.5-dfd6be4.tgz /php-phpspec-prophecy-1.7.6-33a7e3c.tgz /php-phpspec-prophecy-1.8.0-4ba436b.tgz +/php-phpspec-prophecy-1.8.1-1927e75.tgz diff --git a/php-phpspec-prophecy.spec b/php-phpspec-prophecy.spec index 45ade29..8510108 100644 --- a/php-phpspec-prophecy.spec +++ b/php-phpspec-prophecy.spec @@ -1,13 +1,13 @@ # remirepo/fedora spec file for php-phpspec-prophecy # -# Copyright (c) 2015-2018 Remi Collet +# Copyright (c) 2015-2019 Remi Collet # License: CC-BY-SA # http://creativecommons.org/licenses/by-sa/4.0/ # # Please, preserve the changelog entries # %global bootstrap 0 -%global gh_commit 4ba436b55987b4bf311cb7c6ba82aa528aac0a06 +%global gh_commit 1927e75f4ed19131ec9bcc3b002e07fb1173ee76 %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.8.0 +Version: 1.8.1 Release: 1%{?dist} Summary: Highly opinionated mocking framework for PHP @@ -48,7 +48,7 @@ BuildRequires: php-composer(fedora/autoloader) # "doctrine/instantiator": "^1.0.2", # "sebastian/recursion-context": "^1.0|^2.0|^3.0" Requires: php(language) >= 5.3 -%if 0%{?fedora} >= 27 +%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8 Requires: (php-composer(phpdocumentor/reflection-docblock) >= 2.0 with php-composer(phpdocumentor/reflection-docblock) < 5) Requires: (php-composer(sebastian/comparator) >= 1.1 with php-composer(sebastian/comparator) < 4) # recursion-context will be pulled by phpspec or phpunit or phpunit6 @@ -115,7 +115,7 @@ if [ $VER -ge 4 ]; then fi ret=0 -for cmd in php php70 php71 php72 php73; do +for cmd in php php70 php71 php72 php73 php74; do if which $cmd; then $cmd -d include_path=.:%{buildroot}%{_datadir}/php:%{_datadir}/php \ %{_bindir}/phpspec run --format pretty --verbose --no-ansi || ret=1 @@ -136,6 +136,9 @@ exit $ret %changelog +* Thu Jun 13 2019 Remi Collet - 1.8.1-1 +- update to 1.8.1 + * Mon Aug 20 2018 Remi Collet - 1.8.0-1 - update to 1.8.0 diff --git a/sources b/sources index 2d4f163..07caa71 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (php-phpspec-prophecy-1.8.0-4ba436b.tgz) = a7d69531adc47801ce9ec0be06354101c96dfdec20a840861eb197ccc3335eeaedee6030d204aa1a28fc2e35d6d9e5a7331653b2352bd79c1b8505861d1fdb60 +SHA512 (php-phpspec-prophecy-1.8.1-1927e75.tgz) = af79e9075c138fdc7cb3f316db7b5de0141ec9d2c02ea7fe891c0cfa5e52c939303aa387e40dc03f88fd794009c729ba7dc59ac79d1dec9d22c678594c549731