summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-mock2.spec11
1 files changed, 7 insertions, 4 deletions
diff --git a/php-mock2.spec b/php-mock2.spec
index c0bc237..cf59153 100644
--- a/php-mock2.spec
+++ b/php-mock2.spec
@@ -6,7 +6,7 @@
#
# Please, preserve the changelog entries
#
-%global gh_commit 611ccd15f53d70b4d1fd31e886f7a5c08dc53bbb
+%global gh_commit e2eea560cb01502148ca895221f0b58806c5a4df
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global gh_owner php-mock
%global gh_project php-mock
@@ -14,8 +14,8 @@
%global major 2
Name: php-mock%{major}
-Version: 2.1.0
-Release: 2%{?dist}
+Version: 2.1.1
+Release: 1%{?dist}
Summary: PHP-Mock can mock built-in PHP functions
License: WTFPL
@@ -119,7 +119,7 @@ cp -pr rpm/tests %{buildroot}%{_datadir}/tests
%if %{with_tests}
# TODO: local build fails, build in mock is ok
ret=0
-for cmdarg in "php %{phpunit}" "php70 %{_bindir}/phpunit6" "php71 %{_bindir}/phpunit7" "php72 %{_bindir}/phpunit8" "php73 %{_bindir}/phpunit8"; do
+for cmdarg in "php %{phpunit}" "php71 %{_bindir}/phpunit7" "php72 %{_bindir}/phpunit8" "php73 %{_bindir}/phpunit8"; do
if which $cmdarg; then
set $cmdarg
$1 $2 --bootstrap %{buildroot}%{_datadir}/tests/phpmock2/autoload.php --verbose rpm/tests|| ret=1
@@ -141,6 +141,9 @@ exit $ret
%changelog
+* Mon Apr 8 2019 Remi Collet <remi@remirepo.net> - 2.1.1-1
+- update to 2.1.1
+
* Thu Mar 7 2019 Remi Collet <remi@remirepo.net> - 2.1.0-2
- single autoloader