summaryrefslogtreecommitdiffstats
path: root/php-guzzlehttp-guzzle6.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-guzzlehttp-guzzle6.spec')
-rw-r--r--php-guzzlehttp-guzzle6.spec7
1 files changed, 5 insertions, 2 deletions
diff --git a/php-guzzlehttp-guzzle6.spec b/php-guzzlehttp-guzzle6.spec
index ff2891c..147d443 100644
--- a/php-guzzlehttp-guzzle6.spec
+++ b/php-guzzlehttp-guzzle6.spec
@@ -39,7 +39,7 @@
Name: php-%{composer_vendor}-%{composer_project}6
Version: %{github_version}
-Release: 2%{?github_release}%{?dist}
+Release: 3%{?github_release}%{?dist}
Summary: PHP HTTP client library
Group: Development/Libraries
@@ -186,7 +186,7 @@ RETURN_CODE=0
PHPUNIT=$(which phpunit)
for PHP_EXEC in "" php56 php70 php71 php72; do
if [ -z "$PHP_EXEC" ] || which $PHP_EXEC; then
- $PHP_EXEC $PHPUNIT --verbose
+ $PHP_EXEC $PHPUNIT --verbose || RETURN_CODE=1
fi
done
exit $RETURN_CODE
@@ -204,6 +204,9 @@ exit $RETURN_CODE
%changelog
+* Fri Jul 07 2017 Shawn Iwinski <shawn@iwin.ski> - 6.3.0-3
+- Fix %%check to fail when upstream tests fail
+
* Wed Jul 05 2017 Shawn Iwinski <shawn@iwin.ski> - 6.3.0-2
- Add patch to fix version
- Add check for version and run whether tests are skipped or not