summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-paragonie-random-compat.spec18
1 files changed, 11 insertions, 7 deletions
diff --git a/php-paragonie-random-compat.spec b/php-paragonie-random-compat.spec
index 9710704..93b8c58 100644
--- a/php-paragonie-random-compat.spec
+++ b/php-paragonie-random-compat.spec
@@ -12,8 +12,8 @@
%global github_owner paragonie
%global github_name random_compat
-%global github_version 2.0.10
-%global github_commit 634bae8e911eefa89c1abfbf1b66da679ac8f54d
+%global github_version 2.0.11
+%global github_commit 5da4d3c796c275c55f057af5a643ae297d96b4d8
%global composer_vendor paragonie
%global composer_project random_compat
@@ -47,19 +47,19 @@ BuildArch: noarch
## composer.json
BuildRequires: php(language) >= %{php_min_ver}
BuildRequires: php-composer(phpunit/phpunit)
-## phpcompatinfo (computed from version 2.0.10)
+## phpcompatinfo (computed from version 2.0.11)
+BuildRequires: php-mbstring
BuildRequires: php-pcre
BuildRequires: php-zlib
%endif
# composer.json
Requires: php(language) >= %{php_min_ver}
-# phpcompatinfo (computed from version 2.0.10)
+# phpcompatinfo (computed from version 2.0.11)
Requires: php-pcre
# Weak dependencies
%if 0%{?fedora} >= 21
Suggests: php-mbstring
-Suggests: php-openssl
Suggests: php-pecl(libsodium)
%endif
@@ -96,9 +96,10 @@ cp -rp lib/* %{buildroot}%{phpdir}/random_compat/
%if %{with_tests}
: Upstream tests
RETURN_CODE=0
-for PHP_EXEC in php %{?rhel:php54 php55} php56 php70 php71; do
+PHPUNIT=$(which phpunit)
+for PHP_EXEC in php %{?rhel:php54 php55} php56 php70 php71 php72; do
if which $PHP_EXEC; then
- $PHP_EXEC %{_bindir}/phpunit --verbose \
+ $PHP_EXEC $PHPUNIT --verbose \
--bootstrap %{buildroot}%{phpdir}/random_compat/autoload.php \
|| RETURN_CODE=1
fi
@@ -123,6 +124,9 @@ rm -rf %{buildroot}
%changelog
+* Sun Oct 08 2017 Shawn Iwinski <shawn.iwinski@gmail.com> - 2.0.11-1
+- Updated to 2.0.11 (RHBZ #1496628)
+
* Fri Mar 17 2017 Shawn Iwinski <shawn.iwinski@gmail.com> - 2.0.10-1
- Updated to 2.0.10 (RHBZ #1432051)