summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-google-recaptcha.spec18
1 files changed, 7 insertions, 11 deletions
diff --git a/php-google-recaptcha.spec b/php-google-recaptcha.spec
index 95e7b41..adbde8b 100644
--- a/php-google-recaptcha.spec
+++ b/php-google-recaptcha.spec
@@ -1,12 +1,12 @@
# remirepo/fedora spec file for php-google-recaptcha
#
-# Copyright (c) 2017-2019 Remi Collet
+# Copyright (c) 2017-2020 Remi Collet
# License: CC-BY-SA
# http://creativecommons.org/licenses/by-sa/4.0/
#
# Please, preserve the changelog entries
#
-%global gh_commit 98c4a6573b27e8b0990ea8789c74ea378795134c
+%global gh_commit 614f25a9038be4f3f2da7cbfd778dc5b357d2419
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global gh_owner google
%global gh_project recaptcha
@@ -14,7 +14,7 @@
%global psr0 ReCaptcha
Name: php-%{gh_owner}-%{gh_project}
-Version: 1.2.3
+Version: 1.2.4
Release: 1%{?dist}
Summary: reCAPTCHA PHP client library
@@ -33,15 +33,8 @@ BuildRequires: php-spl
# For tests, from composer.json "require-dev": {
# "phpunit/phpunit": "^4.8.36|^5.7.27|^6.59|^7.5.11",
# "friendsofphp/php-cs-fixer": "^2.2.20|^2.15",
-# remirepo:1
-%if 0%{?fedora} >= 28 || 0%{?rhel} >= 8
BuildRequires: phpunit7 >= 7.5.11
%global phpunit %{_bindir}/phpunit7
-# remirepo:4
-%else
-BuildRequires: php-composer(phpunit/phpunit) >= 5.7.27
-%global phpunit %{_bindir}/phpunit
-%endif
%endif
# For autoloader
BuildRequires: php-composer(fedora/autoloader)
@@ -101,7 +94,7 @@ cp -pr src/%{psr0} %{buildroot}%{_datadir}/php/%{psr0}
BOOTSTRAP=%{buildroot}%{_datadir}/php/%{psr0}/autoload.php
ret=0
-for cmdarg in "php %phpunit" php71 php72 php73 php74; do
+for cmdarg in "php %phpunit" php72 php73 php74; do
if which $cmdarg; then
set $cmdarg
$1 ${2:-%{_bindir}/phpunit7} --bootstrap=$BOOTSTRAP --verbose || ret=0
@@ -122,6 +115,9 @@ exit $ret
%changelog
+* Wed Apr 1 2020 Remi Collet <remi@remirepo.net> - 1.2.4-1
+- update to 1.2.4
+
* Mon Aug 19 2019 Remi Collet <remi@remirepo.net> - 1.2.3-1
- update to 1.2.3