summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2021-12-22 08:17:37 +0100
committerRemi Collet <remi@php.net>2021-12-22 08:17:37 +0100
commitce9e808ee832de62c4176172d970745cb3b49dab (patch)
tree54d4d8f94df4ec9bada633677ff0847ed19941ec
parent690d142ab8c256babd9551288eced97ad5d05415 (diff)
update to 1.3.1HEADmaster
-rw-r--r--php-bjeavons-zxcvbn-php.spec18
1 files changed, 9 insertions, 9 deletions
diff --git a/php-bjeavons-zxcvbn-php.spec b/php-bjeavons-zxcvbn-php.spec
index e6bf533..f15842d 100644
--- a/php-bjeavons-zxcvbn-php.spec
+++ b/php-bjeavons-zxcvbn-php.spec
@@ -8,7 +8,7 @@
#
%bcond_without tests
# Github
-%global gh_commit 5268743bffbb8cd182c98a4e79d6ed87004a6621
+%global gh_commit 994928ae5b17ecff8baa2406832d37bdf01116c0
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global gh_owner bjeavons
%global gh_project zxcvbn-php
@@ -20,8 +20,8 @@
%global ns_project ZxcvbnPhp
Name: php-%{pk_vendor}-%{pk_name}
-Version: 1.3.0
-Release: 2%{?dist}
+Version: 1.3.1
+Release: 1%{?dist}
Summary: Realistic password strength estimation PHP library
License: MIT
@@ -42,7 +42,7 @@ BuildRequires: php-mbstring
BuildRequires: php-pcre
BuildRequires: php-reflection
BuildRequires: php-spl
-# Mandatory for 32-bit
+# Recommended for 32-bit
BuildRequires: php-gmp
# remirepo:1
%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8
@@ -134,15 +134,12 @@ require '%{buildroot}%{_datadir}/php/%{ns_project}/autoload.php';
\Fedora\Autoloader\Autoload::addPsr4('ZxcvbnPhp\\Test\\', dirname(__DIR__).'/test');
EOF
-: Skip known failed test
-sed -e '/h1dden_26191/d' -i test/ZxcvbnTest.php
-
-
: Run upstream test suite
ret=0
for cmd in php php74 php80 php81; do
if which $cmd; then
- $cmd %{_bindir}/phpunit9 $FILTER --verbose || ret=1
+ $cmd %{_bindir}/phpunit9 $FILTER \
+ --no-coverage --verbose || ret=1
fi
done
exit $ret
@@ -159,6 +156,9 @@ exit $ret
%changelog
+* Wed Dec 22 2021 Remi Collet <remi@remirepo.net> - 1.3.1-1
+- update to 1.3.1
+
* Tue Dec 14 2021 Remi Collet <remi@remirepo.net> - 1.3.0-2
- raise dependency on PHP 7.3
- add dependency on gmp extension for 32-bit