summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--composer.json1
-rw-r--r--php-egulias-email-validator2.spec13
2 files changed, 12 insertions, 2 deletions
diff --git a/composer.json b/composer.json
index 5423e9f..36bd0ca 100644
--- a/composer.json
+++ b/composer.json
@@ -26,6 +26,7 @@
"require-dev" : {
"satooshi/php-coveralls": "^1.0.1",
"phpunit/phpunit": "^4.8.35||^5.7||^6.0",
+ "symfony/phpunit-bridge": "^4.4@dev",
"dominicsayers/isemail": "dev-master"
},
"suggest": {
diff --git a/php-egulias-email-validator2.spec b/php-egulias-email-validator2.spec
index eb2f423..8e28eec 100644
--- a/php-egulias-email-validator2.spec
+++ b/php-egulias-email-validator2.spec
@@ -10,8 +10,8 @@
%global github_owner egulias
%global github_name EmailValidator
-%global github_version 2.1.9
-%global github_commit 128cc721d771ec2c46ce59698f4ca42b73f71b25
+%global github_version 2.1.10
+%global github_commit a6c8d7101b19a451c1707b1b79bbbc56e4bdb7ec
%global github_short %(c=%{github_commit}; echo ${c:0:7})
%global major 2
@@ -43,7 +43,10 @@ BuildArch: noarch
# Tests
%if %{with_tests}
## composer.json (require-dev)
+# "satooshi/php-coveralls": "^1.0.1",
# "phpunit/phpunit": "^4.8.35||^5.7||^6.0",
+# "symfony/phpunit-bridge": "^4.4@dev",
+# "dominicsayers/isemail": "dev-master"
# remirepo:1
%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8
BuildRequires: phpunit6
@@ -132,6 +135,9 @@ EOF
rm Tests/EmailValidator/Validation/DNSCheckValidationTest.php
rm Tests/EmailValidator/Validation/SpoofCheckValidationTest.php
+: To avoid symfony/phpunit-bridge
+sed -e '/listener/d' phpunit.xml.dist >phpunit.xml
+
: Upstream tests
ret=0
for cmdarg in "php %{phpunit}" php71 php72 php73 php74; do
@@ -158,6 +164,9 @@ exit $ret
%changelog
+* Sun Jul 21 2019 Remi Collet <remi@remirepo.net> - 2.1.10-1
+- update to 2.1.10
+
* Tue Jun 25 2019 Remi Collet <remi@remirepo.net> - 2.1.9-1
- update to 2.1.9