Compare commits
4 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6c9a1e65df | ||
|
|
1676940319 | ||
|
|
e03a47da3e | ||
|
|
9d1f556323 |
3 changed files with 27 additions and 18 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -5,3 +5,4 @@ clog
|
||||||
/php-google-recaptcha-1.2.3-98c4a65.tar.gz
|
/php-google-recaptcha-1.2.3-98c4a65.tar.gz
|
||||||
/php-google-recaptcha-1.2.4-614f25a.tar.gz
|
/php-google-recaptcha-1.2.4-614f25a.tar.gz
|
||||||
/php-google-recaptcha-1.3.0-d59a801.tgz
|
/php-google-recaptcha-1.3.0-d59a801.tgz
|
||||||
|
/php-google-recaptcha-1.3.1-56522c2.tgz
|
||||||
|
|
|
||||||
|
|
@ -1,12 +1,12 @@
|
||||||
# remirepo/fedora spec file for php-google-recaptcha
|
# remirepo/fedora spec file for php-google-recaptcha
|
||||||
#
|
#
|
||||||
# Copyright (c) 2017-2023 Remi Collet
|
# SPDX-FileCopyrightText: Copyright 2017-2025 Remi Collet
|
||||||
# License: CC-BY-SA-4.0
|
# SPDX-License-Identifier: CECILL-2.1
|
||||||
# http://creativecommons.org/licenses/by-sa/4.0/
|
# http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
|
||||||
#
|
#
|
||||||
# Please, preserve the changelog entries
|
# Please, preserve the changelog entries
|
||||||
#
|
#
|
||||||
%global gh_commit d59a801e98a4e9174814a6d71bbc268dff1202df
|
%global gh_commit 56522c261d2e8c58ba416c90f81a4cd9f2ed89b9
|
||||||
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
|
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
|
||||||
%global gh_owner google
|
%global gh_owner google
|
||||||
%global gh_project recaptcha
|
%global gh_project recaptcha
|
||||||
|
|
@ -14,8 +14,8 @@
|
||||||
%global psr0 ReCaptcha
|
%global psr0 ReCaptcha
|
||||||
|
|
||||||
Name: php-%{gh_owner}-%{gh_project}
|
Name: php-%{gh_owner}-%{gh_project}
|
||||||
Version: 1.3.0
|
Version: 1.3.1
|
||||||
Release: 4%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: reCAPTCHA PHP client library
|
Summary: reCAPTCHA PHP client library
|
||||||
|
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
|
|
@ -28,16 +28,12 @@ BuildArch: noarch
|
||||||
%if %{with_tests}
|
%if %{with_tests}
|
||||||
BuildRequires: php(language) >= 8
|
BuildRequires: php(language) >= 8
|
||||||
BuildRequires: php-curl
|
BuildRequires: php-curl
|
||||||
BuildRequires: php-date
|
|
||||||
BuildRequires: php-json
|
BuildRequires: php-json
|
||||||
BuildRequires: php-pcre
|
|
||||||
BuildRequires: php-spl
|
|
||||||
# For tests, from composer.json "require-dev": {
|
# For tests, from composer.json "require-dev": {
|
||||||
# "phpunit/phpunit": "^10",
|
# "phpunit/phpunit": "^10",
|
||||||
# "friendsofphp/php-cs-fixer": "^3.14",
|
# "friendsofphp/php-cs-fixer": "^3.14",
|
||||||
# "php-coveralls/php-coveralls": "^2.5"
|
# "php-coveralls/php-coveralls": "^2.5"
|
||||||
# Keep phpunit9 for PHP 8.0
|
BuildRequires: phpunit10
|
||||||
BuildRequires: phpunit9
|
|
||||||
%endif
|
%endif
|
||||||
# For autoloader
|
# For autoloader
|
||||||
BuildRequires: php-composer(fedora/autoloader)
|
BuildRequires: php-composer(fedora/autoloader)
|
||||||
|
|
@ -47,10 +43,7 @@ BuildRequires: php-composer(fedora/autoloader)
|
||||||
Requires: php(language) >= 8
|
Requires: php(language) >= 8
|
||||||
# From phpcompatinfo report for 1.2.1
|
# From phpcompatinfo report for 1.2.1
|
||||||
Requires: php-curl
|
Requires: php-curl
|
||||||
Requires: php-date
|
|
||||||
Requires: php-json
|
Requires: php-json
|
||||||
Requires: php-pcre
|
|
||||||
Requires: php-spl
|
|
||||||
# For generated autoloader
|
# For generated autoloader
|
||||||
Requires: php-composer(fedora/autoloader)
|
Requires: php-composer(fedora/autoloader)
|
||||||
|
|
||||||
|
|
@ -97,10 +90,13 @@ cp -pr src/%{psr0} %{buildroot}%{_datadir}/php/%{psr0}
|
||||||
BOOTSTRAP=%{buildroot}%{_datadir}/php/%{psr0}/autoload.php
|
BOOTSTRAP=%{buildroot}%{_datadir}/php/%{psr0}/autoload.php
|
||||||
ret=0
|
ret=0
|
||||||
|
|
||||||
for cmdarg in php php80 "php81 %{_bindir}/phpunit10" "php82 %{_bindir}/phpunit10"; do
|
for cmdarg in php php81 php82 php83 php84; do
|
||||||
if which $cmdarg; then
|
if which $cmdarg; then
|
||||||
set $cmdarg
|
set $cmdarg
|
||||||
$1 ${2:-%{_bindir}/phpunit9} --bootstrap=$BOOTSTRAP || ret=0
|
$1 ${2:-%{_bindir}/phpunit10} \
|
||||||
|
-d date.timezone=UTC \
|
||||||
|
--bootstrap=$BOOTSTRAP \
|
||||||
|
--no-coverage || ret=1
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
exit $ret
|
exit $ret
|
||||||
|
|
@ -110,7 +106,6 @@ exit $ret
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%{!?_licensedir:%global license %%doc}
|
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc composer.json
|
%doc composer.json
|
||||||
%doc *.md
|
%doc *.md
|
||||||
|
|
@ -118,6 +113,19 @@ exit $ret
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.1-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jun 27 2025 Remi Collet <remi@remirepo.net> - 1.3.1-1
|
||||||
|
- update to 1.3.1
|
||||||
|
- re-license spec file to CECILL-2.1
|
||||||
|
|
||||||
|
* Sat Jan 18 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-6
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jul 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-5
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
||||||
|
|
||||||
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-4
|
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-4
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||||
|
|
||||||
|
|
|
||||||
2
sources
2
sources
|
|
@ -1 +1 @@
|
||||||
SHA512 (php-google-recaptcha-1.3.0-d59a801.tgz) = 3dc26a7b7b09a59216bce94b8ce76d537bce9804dfe945c3263cabf073d9196302a3caac75a13021ba8acd141ff3419f09cee502d44f20da204a768c4992ac80
|
SHA512 (php-google-recaptcha-1.3.1-56522c2.tgz) = c1eda00dcb54ad91601c05b572b68a9ca657fc53723abc78ccb8807d1facbfb49386335377c04aabd415c5de2a95619728963090f49236d71d0b7b79db0df889
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue