From 9704cb2cede2086237d998b751a038bdca6ba98e Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 13 Jul 2018 21:22:02 +0000 Subject: [PATCH 01/23] - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- php-google-recaptcha.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-google-recaptcha.spec b/php-google-recaptcha.spec index e81d11b..3d792c3 100644 --- a/php-google-recaptcha.spec +++ b/php-google-recaptcha.spec @@ -15,7 +15,7 @@ Name: php-%{gh_owner}-%{gh_project} Version: 1.1.3 -Release: 3%{?dist} +Release: 4%{?dist} Summary: reCAPTCHA PHP client library Group: Development/Libraries @@ -109,6 +109,9 @@ exit $ret %changelog +* Fri Jul 13 2018 Fedora Release Engineering - 1.1.3-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + * Fri Feb 09 2018 Fedora Release Engineering - 1.1.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild From cbfa560a8bd34d90f751e190fc32a9b0caa5f0ee Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 20 Aug 2018 11:37:05 +0200 Subject: [PATCH 02/23] update to 1.2.1 use phpunit7 open https://github.com/google/recaptcha/issues/250 - CHANGELOG --- .gitignore | 1 + php-google-recaptcha.spec | 29 ++++++++++++++++++++--------- sources | 2 +- 3 files changed, 22 insertions(+), 10 deletions(-) diff --git a/.gitignore b/.gitignore index 240fd80..31d3000 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /php-google-recaptcha-1.1.3-5a56d15.tar.gz +/php-google-recaptcha-1.2.1-e7add3b.tar.gz diff --git a/php-google-recaptcha.spec b/php-google-recaptcha.spec index 3d792c3..a0ca082 100644 --- a/php-google-recaptcha.spec +++ b/php-google-recaptcha.spec @@ -6,7 +6,7 @@ # # Please, preserve the changelog entries # -%global gh_commit 5a56d15ca10a7b75158178752b2ad8f755eb4f78 +%global gh_commit e7add3be59211482ecdb942288f52da64a35f61a %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner google %global gh_project recaptcha @@ -14,8 +14,8 @@ %global psr0 ReCaptcha Name: php-%{gh_owner}-%{gh_project} -Version: 1.1.3 -Release: 4%{?dist} +Version: 1.2.1 +Release: 1%{?dist} Summary: reCAPTCHA PHP client library Group: Development/Libraries @@ -27,12 +27,14 @@ BuildArch: noarch %if %{with_tests} BuildRequires: php(language) >= 5.5 BuildRequires: php-curl +BuildRequires: php-date BuildRequires: php-json BuildRequires: php-pcre BuildRequires: php-spl # For tests, from composer.json "require-dev": { -# "phpunit/phpunit": "^4.8" -BuildRequires: php-composer(phpunit/phpunit) >= 4.8 +# "phpunit/phpunit": "^4.8.36|^5.7.27|^6.59|^7" +BuildRequires: phpunit7 +%global phpunit %{_bindir}/phpunit7 %endif # For autoloader BuildRequires: php-composer(fedora/autoloader) @@ -40,8 +42,9 @@ BuildRequires: php-composer(fedora/autoloader) # From composer.json, "require": { # "php": ">=5.5" Requires: php(language) >= 5.5 -# From phpcompatinfo report for 1.1.2 +# From phpcompatinfo report for 1.2.1 Requires: php-curl +Requires: php-date Requires: php-json Requires: php-pcre Requires: php-spl @@ -59,6 +62,8 @@ reCAPTCHA is a free CAPTCHA service that protect websites from spam and abuse. This is Google authored code that provides plugins for third-party integration with reCAPTCHA. +See https://www.google.com/recaptcha/ + Autoloader: %{_datadir}/php/%{psr0}/autoload.php @@ -89,9 +94,10 @@ cp -pr src/%{psr0} %{buildroot}%{_datadir}/php/%{psr0} BOOTSTRAP=%{buildroot}%{_datadir}/php/%{psr0}/autoload.php ret=0 -for cmd in php56 php70 php71 php; do - if which $cmd; then - $cmd %{_bindir}/phpunit --bootstrap=$BOOTSTRAP --verbose || ret=0 +for cmdarg in "php %phpunit" "php56 %{_bindir}/phpunit" "php70 %{_bindir}/phpunit6" php71 php72 php73; do + if which $cmdarg; then + set $cmdarg + $1 ${2:-%{_bindir}/phpunit7} --bootstrap=$BOOTSTRAP --verbose || ret=0 fi done exit $ret @@ -109,6 +115,11 @@ exit $ret %changelog +* Mon Aug 20 2018 Remi Collet - 1.2.1-1 +- update to 1.2.1 +- use phpunit7 +- open https://github.com/google/recaptcha/issues/250 - CHANGELOG + * Fri Jul 13 2018 Fedora Release Engineering - 1.1.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild diff --git a/sources b/sources index d32c422..0b10230 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (php-google-recaptcha-1.1.3-5a56d15.tar.gz) = ac1bee8ccdf12a22926861a7a503e23554dbdda0e4aefee9a1afa27764b84bbfba90f533ab7fa99fd872648a75ceadaef15ae0cf0a46d479f8a8c53e32039574 +SHA512 (php-google-recaptcha-1.2.1-e7add3b.tar.gz) = 6574c4ff556849644b3bb0e37356c81465068d33bdf4572e344cfb9e190aa8bbfa7bc451ba1eaffed8f65906e6b28a5688ca30f4047bd6d36f95b2c574cc700e From 8b1b0c6784b8408097adb3b2e61ee7957a8c7a45 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Mon, 28 Jan 2019 20:18:10 +0100 Subject: [PATCH 03/23] Remove obsolete Group tag References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag --- php-google-recaptcha.spec | 1 - 1 file changed, 1 deletion(-) diff --git a/php-google-recaptcha.spec b/php-google-recaptcha.spec index a0ca082..6f80ad5 100644 --- a/php-google-recaptcha.spec +++ b/php-google-recaptcha.spec @@ -18,7 +18,6 @@ Version: 1.2.1 Release: 1%{?dist} Summary: reCAPTCHA PHP client library -Group: Development/Libraries License: BSD URL: https://github.com/%{gh_owner}/%{gh_project} Source0: %{url}/archive/%{gh_commit}/%{name}-%{version}-%{?gh_short}.tar.gz From acfd8a25fee6b7916b6f366b9ff136b63b246cd9 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 2 Feb 2019 02:32:44 +0000 Subject: [PATCH 04/23] - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- php-google-recaptcha.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-google-recaptcha.spec b/php-google-recaptcha.spec index 6f80ad5..eb7f9e9 100644 --- a/php-google-recaptcha.spec +++ b/php-google-recaptcha.spec @@ -15,7 +15,7 @@ Name: php-%{gh_owner}-%{gh_project} Version: 1.2.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: reCAPTCHA PHP client library License: BSD @@ -114,6 +114,9 @@ exit $ret %changelog +* Sat Feb 02 2019 Fedora Release Engineering - 1.2.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + * Mon Aug 20 2018 Remi Collet - 1.2.1-1 - update to 1.2.1 - use phpunit7 From 817a7a95eb4e7915b705d367de83b46ccbd34e9d Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 19 Jun 2019 13:52:00 +0200 Subject: [PATCH 05/23] v1.2.2 --- .gitignore | 2 ++ php-google-recaptcha.spec | 18 +++++++++++------- sources | 2 +- 3 files changed, 14 insertions(+), 8 deletions(-) diff --git a/.gitignore b/.gitignore index 31d3000..006bfd2 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,4 @@ +clog /php-google-recaptcha-1.1.3-5a56d15.tar.gz /php-google-recaptcha-1.2.1-e7add3b.tar.gz +/php-google-recaptcha-1.2.2-c4a17d6.tar.gz diff --git a/php-google-recaptcha.spec b/php-google-recaptcha.spec index eb7f9e9..6f7dcde 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 Remi Collet +# Copyright (c) 2017-2019 Remi Collet # License: CC-BY-SA # http://creativecommons.org/licenses/by-sa/4.0/ # # Please, preserve the changelog entries # -%global gh_commit e7add3be59211482ecdb942288f52da64a35f61a +%global gh_commit c4a17d6af648d4f3814430cd103cba50b75b571c %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner google %global gh_project recaptcha @@ -14,8 +14,8 @@ %global psr0 ReCaptcha Name: php-%{gh_owner}-%{gh_project} -Version: 1.2.1 -Release: 2%{?dist} +Version: 1.2.2 +Release: 1%{?dist} Summary: reCAPTCHA PHP client library License: BSD @@ -31,8 +31,9 @@ BuildRequires: php-json BuildRequires: php-pcre BuildRequires: php-spl # For tests, from composer.json "require-dev": { -# "phpunit/phpunit": "^4.8.36|^5.7.27|^6.59|^7" -BuildRequires: phpunit7 +# "phpunit/phpunit": "^4.8.36|^5.7.27|^6.59|^7.5.11", +# "friendsofphp/php-cs-fixer": "^2.2.20|^2.15", +BuildRequires: phpunit7 >= 7.5.11 %global phpunit %{_bindir}/phpunit7 %endif # For autoloader @@ -93,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" "php56 %{_bindir}/phpunit" "php70 %{_bindir}/phpunit6" php71 php72 php73; do +for cmdarg in "php %phpunit" php71 php72 php73 php74; do if which $cmdarg; then set $cmdarg $1 ${2:-%{_bindir}/phpunit7} --bootstrap=$BOOTSTRAP --verbose || ret=0 @@ -114,6 +115,9 @@ exit $ret %changelog +* Wed Jun 19 2019 Remi Collet - 1.2.2-1 +- update to 1.2.2 + * Sat Feb 02 2019 Fedora Release Engineering - 1.2.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild diff --git a/sources b/sources index 0b10230..404e090 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (php-google-recaptcha-1.2.1-e7add3b.tar.gz) = 6574c4ff556849644b3bb0e37356c81465068d33bdf4572e344cfb9e190aa8bbfa7bc451ba1eaffed8f65906e6b28a5688ca30f4047bd6d36f95b2c574cc700e +SHA512 (php-google-recaptcha-1.2.2-c4a17d6.tar.gz) = 7a2f8d109d8f18e57c93a68112439336bb806d70b71658a62b6f7d8762acfd5f1f3d0135b500be0f9b7004a0cef0b0bc574c97db4ec1362c278a2afc50553b9d From d85185df5e56535d0d8b0317ba399102b1d5e551 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 26 Jul 2019 08:59:26 +0000 Subject: [PATCH 06/23] - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- php-google-recaptcha.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-google-recaptcha.spec b/php-google-recaptcha.spec index 6f7dcde..9b71fa9 100644 --- a/php-google-recaptcha.spec +++ b/php-google-recaptcha.spec @@ -15,7 +15,7 @@ Name: php-%{gh_owner}-%{gh_project} Version: 1.2.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: reCAPTCHA PHP client library License: BSD @@ -115,6 +115,9 @@ exit $ret %changelog +* Fri Jul 26 2019 Fedora Release Engineering - 1.2.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + * Wed Jun 19 2019 Remi Collet - 1.2.2-1 - update to 1.2.2 From b3fbbf759360dd0573dcef3ec09aced2d3954ae8 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 21 Aug 2019 15:44:31 +0200 Subject: [PATCH 07/23] v1.2.3 --- .gitignore | 1 + php-google-recaptcha.spec | 9 ++++++--- sources | 2 +- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 006bfd2..e2479b9 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ clog /php-google-recaptcha-1.1.3-5a56d15.tar.gz /php-google-recaptcha-1.2.1-e7add3b.tar.gz /php-google-recaptcha-1.2.2-c4a17d6.tar.gz +/php-google-recaptcha-1.2.3-98c4a65.tar.gz diff --git a/php-google-recaptcha.spec b/php-google-recaptcha.spec index 9b71fa9..ebbdbaf 100644 --- a/php-google-recaptcha.spec +++ b/php-google-recaptcha.spec @@ -6,7 +6,7 @@ # # Please, preserve the changelog entries # -%global gh_commit c4a17d6af648d4f3814430cd103cba50b75b571c +%global gh_commit 98c4a6573b27e8b0990ea8789c74ea378795134c %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner google %global gh_project recaptcha @@ -14,8 +14,8 @@ %global psr0 ReCaptcha Name: php-%{gh_owner}-%{gh_project} -Version: 1.2.2 -Release: 2%{?dist} +Version: 1.2.3 +Release: 1%{?dist} Summary: reCAPTCHA PHP client library License: BSD @@ -115,6 +115,9 @@ exit $ret %changelog +* Mon Aug 19 2019 Remi Collet - 1.2.3-1 +- update to 1.2.3 + * Fri Jul 26 2019 Fedora Release Engineering - 1.2.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild diff --git a/sources b/sources index 404e090..ef959af 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (php-google-recaptcha-1.2.2-c4a17d6.tar.gz) = 7a2f8d109d8f18e57c93a68112439336bb806d70b71658a62b6f7d8762acfd5f1f3d0135b500be0f9b7004a0cef0b0bc574c97db4ec1362c278a2afc50553b9d +SHA512 (php-google-recaptcha-1.2.3-98c4a65.tar.gz) = 8190fec648ab6c8c5bc2f620c53d2bb93e46643978cb90aaddbbbfb694f1d02ef93873cb2e5c85be46c62a3613dced754f7ab79576648de4da5002255cf8fa29 From c70506f996601fb94edf365df4c1cf2b82d37bb4 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 30 Jan 2020 07:10:37 +0000 Subject: [PATCH 08/23] - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- php-google-recaptcha.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-google-recaptcha.spec b/php-google-recaptcha.spec index ebbdbaf..7a7481f 100644 --- a/php-google-recaptcha.spec +++ b/php-google-recaptcha.spec @@ -15,7 +15,7 @@ Name: php-%{gh_owner}-%{gh_project} Version: 1.2.3 -Release: 1%{?dist} +Release: 2%{?dist} Summary: reCAPTCHA PHP client library License: BSD @@ -115,6 +115,9 @@ exit $ret %changelog +* Thu Jan 30 2020 Fedora Release Engineering - 1.2.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + * Mon Aug 19 2019 Remi Collet - 1.2.3-1 - update to 1.2.3 From 634e1be570730904c3bb9405781758ad56c565dc Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 1 Apr 2020 10:22:28 +0200 Subject: [PATCH 09/23] v1.2.4 --- .gitignore | 1 + php-google-recaptcha.spec | 13 ++++++++----- sources | 2 +- 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index e2479b9..a506822 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ clog /php-google-recaptcha-1.2.1-e7add3b.tar.gz /php-google-recaptcha-1.2.2-c4a17d6.tar.gz /php-google-recaptcha-1.2.3-98c4a65.tar.gz +/php-google-recaptcha-1.2.4-614f25a.tar.gz diff --git a/php-google-recaptcha.spec b/php-google-recaptcha.spec index 7a7481f..4e13e25 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,8 +14,8 @@ %global psr0 ReCaptcha Name: php-%{gh_owner}-%{gh_project} -Version: 1.2.3 -Release: 2%{?dist} +Version: 1.2.4 +Release: 1%{?dist} Summary: reCAPTCHA PHP client library License: BSD @@ -94,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 @@ -115,6 +115,9 @@ exit $ret %changelog +* Wed Apr 1 2020 Remi Collet - 1.2.4-1 +- update to 1.2.4 + * Thu Jan 30 2020 Fedora Release Engineering - 1.2.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild diff --git a/sources b/sources index ef959af..c555903 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (php-google-recaptcha-1.2.3-98c4a65.tar.gz) = 8190fec648ab6c8c5bc2f620c53d2bb93e46643978cb90aaddbbbfb694f1d02ef93873cb2e5c85be46c62a3613dced754f7ab79576648de4da5002255cf8fa29 +SHA512 (php-google-recaptcha-1.2.4-614f25a.tar.gz) = 8f131fcaff5991281d76f8af768597d5ff0af2200f08cdc69d26c9a11fa929f212fabcf02fe97aa36add6c673f7ddecdbd3527012328e628ef77cfe591358719 From 1d73ded7cfd26bbfcaa57c2676d249338491aff0 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 28 Jul 2020 20:56:34 +0000 Subject: [PATCH 10/23] - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- php-google-recaptcha.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-google-recaptcha.spec b/php-google-recaptcha.spec index 4e13e25..ef7086c 100644 --- a/php-google-recaptcha.spec +++ b/php-google-recaptcha.spec @@ -15,7 +15,7 @@ Name: php-%{gh_owner}-%{gh_project} Version: 1.2.4 -Release: 1%{?dist} +Release: 2%{?dist} Summary: reCAPTCHA PHP client library License: BSD @@ -115,6 +115,9 @@ exit $ret %changelog +* Tue Jul 28 2020 Fedora Release Engineering - 1.2.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + * Wed Apr 1 2020 Remi Collet - 1.2.4-1 - update to 1.2.4 From 0422efa55dce5581be00de0facaef13b15358e7c Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 27 Jan 2021 06:38:27 +0000 Subject: [PATCH 11/23] - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- php-google-recaptcha.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-google-recaptcha.spec b/php-google-recaptcha.spec index ef7086c..4d23829 100644 --- a/php-google-recaptcha.spec +++ b/php-google-recaptcha.spec @@ -15,7 +15,7 @@ Name: php-%{gh_owner}-%{gh_project} Version: 1.2.4 -Release: 2%{?dist} +Release: 3%{?dist} Summary: reCAPTCHA PHP client library License: BSD @@ -115,6 +115,9 @@ exit $ret %changelog +* Wed Jan 27 2021 Fedora Release Engineering - 1.2.4-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + * Tue Jul 28 2020 Fedora Release Engineering - 1.2.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild From f87a5139b3152bc5cafa175ff3e444ce0a281595 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 23 Jul 2021 01:52:43 +0000 Subject: [PATCH 12/23] - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- php-google-recaptcha.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-google-recaptcha.spec b/php-google-recaptcha.spec index 4d23829..b811fc8 100644 --- a/php-google-recaptcha.spec +++ b/php-google-recaptcha.spec @@ -15,7 +15,7 @@ Name: php-%{gh_owner}-%{gh_project} Version: 1.2.4 -Release: 3%{?dist} +Release: 4%{?dist} Summary: reCAPTCHA PHP client library License: BSD @@ -115,6 +115,9 @@ exit $ret %changelog +* Fri Jul 23 2021 Fedora Release Engineering - 1.2.4-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + * Wed Jan 27 2021 Fedora Release Engineering - 1.2.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild From f2128f5a2a6820ecdf77abcddfb156e2e98f6e4f Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 21 Jan 2022 07:34:51 +0000 Subject: [PATCH 13/23] - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- php-google-recaptcha.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-google-recaptcha.spec b/php-google-recaptcha.spec index b811fc8..d1c229e 100644 --- a/php-google-recaptcha.spec +++ b/php-google-recaptcha.spec @@ -15,7 +15,7 @@ Name: php-%{gh_owner}-%{gh_project} Version: 1.2.4 -Release: 4%{?dist} +Release: 5%{?dist} Summary: reCAPTCHA PHP client library License: BSD @@ -115,6 +115,9 @@ exit $ret %changelog +* Fri Jan 21 2022 Fedora Release Engineering - 1.2.4-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + * Fri Jul 23 2021 Fedora Release Engineering - 1.2.4-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild From cebc706011583751edebd85fd6e1aed35049f28c Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 22 Jul 2022 13:28:37 +0000 Subject: [PATCH 14/23] Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- php-google-recaptcha.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-google-recaptcha.spec b/php-google-recaptcha.spec index d1c229e..b9161fa 100644 --- a/php-google-recaptcha.spec +++ b/php-google-recaptcha.spec @@ -15,7 +15,7 @@ Name: php-%{gh_owner}-%{gh_project} Version: 1.2.4 -Release: 5%{?dist} +Release: 6%{?dist} Summary: reCAPTCHA PHP client library License: BSD @@ -115,6 +115,9 @@ exit $ret %changelog +* Fri Jul 22 2022 Fedora Release Engineering - 1.2.4-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + * Fri Jan 21 2022 Fedora Release Engineering - 1.2.4-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild From a27009b3e5467694b6e83e42c66676faf3d2ef20 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 20 Jan 2023 08:30:16 +0000 Subject: [PATCH 15/23] Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- php-google-recaptcha.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-google-recaptcha.spec b/php-google-recaptcha.spec index b9161fa..dc2eb30 100644 --- a/php-google-recaptcha.spec +++ b/php-google-recaptcha.spec @@ -15,7 +15,7 @@ Name: php-%{gh_owner}-%{gh_project} Version: 1.2.4 -Release: 6%{?dist} +Release: 7%{?dist} Summary: reCAPTCHA PHP client library License: BSD @@ -115,6 +115,9 @@ exit $ret %changelog +* Fri Jan 20 2023 Fedora Release Engineering - 1.2.4-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + * Fri Jul 22 2022 Fedora Release Engineering - 1.2.4-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild From 42f602493d69a40a57a351debd29bf8817201990 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 20 Feb 2023 08:52:12 +0100 Subject: [PATCH 16/23] update to 1.3.0 raise dependency on PHP 8 --- .gitignore | 1 + makesrc.sh | 28 ++++++++++++++++++++++++++++ php-google-recaptcha.spec | 39 +++++++++++++++++++++++---------------- sources | 2 +- 4 files changed, 53 insertions(+), 17 deletions(-) create mode 100755 makesrc.sh diff --git a/.gitignore b/.gitignore index a506822..fc2a6ca 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ clog /php-google-recaptcha-1.2.2-c4a17d6.tar.gz /php-google-recaptcha-1.2.3-98c4a65.tar.gz /php-google-recaptcha-1.2.4-614f25a.tar.gz +/php-google-recaptcha-1.3.0-d59a801.tgz diff --git a/makesrc.sh b/makesrc.sh new file mode 100755 index 0000000..87d223d --- /dev/null +++ b/makesrc.sh @@ -0,0 +1,28 @@ +#!/bin/bash + +NAME=$(basename $PWD) +OWNER=$(sed -n '/^%global gh_owner/{s/.* //;p}' $NAME.spec) +PROJECT=$(sed -n '/^%global gh_project/{s/.* //;p}' $NAME.spec) +VERSION=$(sed -n '/^Version:/{s/.* //;p}' $NAME.spec) +COMMIT=$(sed -n '/^%global gh_commit/{s/.* //;p}' $NAME.spec) +SHORT=${COMMIT:0:7} + +echo -e "\nCreate git snapshot\nName=$NAME, Owner=$OWNER, Project=$PROJECT, Version=$VERSION\n" + +echo "Cloning..." +rm -rf $PROJECT-$COMMIT +git clone https://github.com/$OWNER/$PROJECT.git $PROJECT-$COMMIT + +echo "Getting commit..." +pushd $PROJECT-$COMMIT +git checkout $COMMIT +cp composer.json ../composer.json +popd + +echo "Archiving..." +tar czf $NAME-$VERSION-$SHORT.tgz --exclude .git $PROJECT-$COMMIT + +echo "Cleaning..." +rm -rf $PROJECT-$COMMIT + +echo "Done." diff --git a/php-google-recaptcha.spec b/php-google-recaptcha.spec index dc2eb30..c8da2c8 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-2020 Remi Collet -# License: CC-BY-SA +# Copyright (c) 2017-2023 Remi Collet +# License: CC-BY-SA-4.0 # http://creativecommons.org/licenses/by-sa/4.0/ # # Please, preserve the changelog entries # -%global gh_commit 614f25a9038be4f3f2da7cbfd778dc5b357d2419 +%global gh_commit d59a801e98a4e9174814a6d71bbc268dff1202df %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner google %global gh_project recaptcha @@ -14,34 +14,37 @@ %global psr0 ReCaptcha Name: php-%{gh_owner}-%{gh_project} -Version: 1.2.4 -Release: 7%{?dist} +Version: 1.3.0 +Release: 1%{?dist} Summary: reCAPTCHA PHP client library -License: BSD +License: BSD-3-Clause URL: https://github.com/%{gh_owner}/%{gh_project} -Source0: %{url}/archive/%{gh_commit}/%{name}-%{version}-%{?gh_short}.tar.gz +# git snapshot to retrieve test suite +Source0: %{name}-%{version}-%{?gh_short}.tgz +Source1: makesrc.sh BuildArch: noarch %if %{with_tests} -BuildRequires: php(language) >= 5.5 +BuildRequires: php(language) >= 8 BuildRequires: php-curl BuildRequires: php-date BuildRequires: php-json BuildRequires: php-pcre 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", -BuildRequires: phpunit7 >= 7.5.11 -%global phpunit %{_bindir}/phpunit7 +# "phpunit/phpunit": "^10", +# "friendsofphp/php-cs-fixer": "^3.14", +# "php-coveralls/php-coveralls": "^2.5" +# Keep phpunit9 for PHP 8.0 +BuildRequires: phpunit9 %endif # For autoloader BuildRequires: php-composer(fedora/autoloader) # From composer.json, "require": { -# "php": ">=5.5" -Requires: php(language) >= 5.5 +# "php": ">=8" +Requires: php(language) >= 8 # From phpcompatinfo report for 1.2.1 Requires: php-curl Requires: php-date @@ -94,10 +97,10 @@ cp -pr src/%{psr0} %{buildroot}%{_datadir}/php/%{psr0} BOOTSTRAP=%{buildroot}%{_datadir}/php/%{psr0}/autoload.php ret=0 -for cmdarg in "php %phpunit" php72 php73 php74; do +for cmdarg in php php80 "php81 %{_bindir}/phpunit10" "php82 %{_bindir}/phpunit10"; do if which $cmdarg; then set $cmdarg - $1 ${2:-%{_bindir}/phpunit7} --bootstrap=$BOOTSTRAP --verbose || ret=0 + $1 ${2:-%{_bindir}/phpunit9} --bootstrap=$BOOTSTRAP || ret=0 fi done exit $ret @@ -115,6 +118,10 @@ exit $ret %changelog +* Mon Feb 20 2023 Remi Collet - 1.3.0-1 +- update to 1.3.0 +- raise dependency on PHP 8 + * Fri Jan 20 2023 Fedora Release Engineering - 1.2.4-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild diff --git a/sources b/sources index c555903..b51df95 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (php-google-recaptcha-1.2.4-614f25a.tar.gz) = 8f131fcaff5991281d76f8af768597d5ff0af2200f08cdc69d26c9a11fa929f212fabcf02fe97aa36add6c673f7ddecdbd3527012328e628ef77cfe591358719 +SHA512 (php-google-recaptcha-1.3.0-d59a801.tgz) = 3dc26a7b7b09a59216bce94b8ce76d537bce9804dfe945c3263cabf073d9196302a3caac75a13021ba8acd141ff3419f09cee502d44f20da204a768c4992ac80 From 3fcb3a6f12dd9e45f16743c6a270439264721e14 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 21 Jul 2023 04:19:15 +0000 Subject: [PATCH 17/23] Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- php-google-recaptcha.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-google-recaptcha.spec b/php-google-recaptcha.spec index c8da2c8..a9762ec 100644 --- a/php-google-recaptcha.spec +++ b/php-google-recaptcha.spec @@ -15,7 +15,7 @@ Name: php-%{gh_owner}-%{gh_project} Version: 1.3.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: reCAPTCHA PHP client library License: BSD-3-Clause @@ -118,6 +118,9 @@ exit $ret %changelog +* Fri Jul 21 2023 Fedora Release Engineering - 1.3.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + * Mon Feb 20 2023 Remi Collet - 1.3.0-1 - update to 1.3.0 - raise dependency on PHP 8 From 1d70a23534feaa257dd61b69f57f4a2be1ec2fbe Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sun, 21 Jan 2024 20:52:25 +0000 Subject: [PATCH 18/23] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- php-google-recaptcha.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-google-recaptcha.spec b/php-google-recaptcha.spec index a9762ec..5bae896 100644 --- a/php-google-recaptcha.spec +++ b/php-google-recaptcha.spec @@ -15,7 +15,7 @@ Name: php-%{gh_owner}-%{gh_project} Version: 1.3.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: reCAPTCHA PHP client library License: BSD-3-Clause @@ -118,6 +118,9 @@ exit $ret %changelog +* Sun Jan 21 2024 Fedora Release Engineering - 1.3.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Fri Jul 21 2023 Fedora Release Engineering - 1.3.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild From ade94c3a914da56062ce9af089350d222eca21c5 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 25 Jan 2024 22:38:47 +0000 Subject: [PATCH 19/23] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- php-google-recaptcha.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-google-recaptcha.spec b/php-google-recaptcha.spec index 5bae896..2ee178a 100644 --- a/php-google-recaptcha.spec +++ b/php-google-recaptcha.spec @@ -15,7 +15,7 @@ Name: php-%{gh_owner}-%{gh_project} Version: 1.3.0 -Release: 3%{?dist} +Release: 4%{?dist} Summary: reCAPTCHA PHP client library License: BSD-3-Clause @@ -118,6 +118,9 @@ exit $ret %changelog +* Thu Jan 25 2024 Fedora Release Engineering - 1.3.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Sun Jan 21 2024 Fedora Release Engineering - 1.3.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From 9d1f5563230954a3486eddc2189ea53d778ede2b Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 19 Jul 2024 06:53:53 +0000 Subject: [PATCH 20/23] Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild --- php-google-recaptcha.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-google-recaptcha.spec b/php-google-recaptcha.spec index 2ee178a..8738dfd 100644 --- a/php-google-recaptcha.spec +++ b/php-google-recaptcha.spec @@ -15,7 +15,7 @@ Name: php-%{gh_owner}-%{gh_project} Version: 1.3.0 -Release: 4%{?dist} +Release: 5%{?dist} Summary: reCAPTCHA PHP client library License: BSD-3-Clause @@ -118,6 +118,9 @@ exit $ret %changelog +* Fri Jul 19 2024 Fedora Release Engineering - 1.3.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + * Thu Jan 25 2024 Fedora Release Engineering - 1.3.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From e03a47da3e2c21a8d37374da5892ebe8d2986675 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 18 Jan 2025 09:04:22 +0000 Subject: [PATCH 21/23] Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild --- php-google-recaptcha.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-google-recaptcha.spec b/php-google-recaptcha.spec index 8738dfd..5ffdea3 100644 --- a/php-google-recaptcha.spec +++ b/php-google-recaptcha.spec @@ -15,7 +15,7 @@ Name: php-%{gh_owner}-%{gh_project} Version: 1.3.0 -Release: 5%{?dist} +Release: 6%{?dist} Summary: reCAPTCHA PHP client library License: BSD-3-Clause @@ -118,6 +118,9 @@ exit $ret %changelog +* Sat Jan 18 2025 Fedora Release Engineering - 1.3.0-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + * Fri Jul 19 2024 Fedora Release Engineering - 1.3.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild From 1676940319a3b81edfa0fb224a8029484d024cb6 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 27 Jun 2025 07:41:56 +0200 Subject: [PATCH 22/23] update to 1.3.1 re-license spec file to CECILL-2.1 --- .gitignore | 1 + php-google-recaptcha.spec | 33 ++++++++++++++++----------------- sources | 2 +- 3 files changed, 18 insertions(+), 18 deletions(-) diff --git a/.gitignore b/.gitignore index fc2a6ca..ee8e8ec 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ clog /php-google-recaptcha-1.2.3-98c4a65.tar.gz /php-google-recaptcha-1.2.4-614f25a.tar.gz /php-google-recaptcha-1.3.0-d59a801.tgz +/php-google-recaptcha-1.3.1-56522c2.tgz diff --git a/php-google-recaptcha.spec b/php-google-recaptcha.spec index 5ffdea3..faa427b 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-2023 Remi Collet -# License: CC-BY-SA-4.0 -# http://creativecommons.org/licenses/by-sa/4.0/ +# SPDX-FileCopyrightText: Copyright 2017-2025 Remi Collet +# SPDX-License-Identifier: CECILL-2.1 +# http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt # # 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_owner google %global gh_project recaptcha @@ -14,8 +14,8 @@ %global psr0 ReCaptcha Name: php-%{gh_owner}-%{gh_project} -Version: 1.3.0 -Release: 6%{?dist} +Version: 1.3.1 +Release: 1%{?dist} Summary: reCAPTCHA PHP client library License: BSD-3-Clause @@ -28,16 +28,12 @@ BuildArch: noarch %if %{with_tests} BuildRequires: php(language) >= 8 BuildRequires: php-curl -BuildRequires: php-date BuildRequires: php-json -BuildRequires: php-pcre -BuildRequires: php-spl # For tests, from composer.json "require-dev": { # "phpunit/phpunit": "^10", # "friendsofphp/php-cs-fixer": "^3.14", # "php-coveralls/php-coveralls": "^2.5" -# Keep phpunit9 for PHP 8.0 -BuildRequires: phpunit9 +BuildRequires: phpunit10 %endif # For autoloader BuildRequires: php-composer(fedora/autoloader) @@ -47,10 +43,7 @@ BuildRequires: php-composer(fedora/autoloader) Requires: php(language) >= 8 # From phpcompatinfo report for 1.2.1 Requires: php-curl -Requires: php-date Requires: php-json -Requires: php-pcre -Requires: php-spl # For generated 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 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 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 done exit $ret @@ -110,7 +106,6 @@ exit $ret %files -%{!?_licensedir:%global license %%doc} %license LICENSE %doc composer.json %doc *.md @@ -118,6 +113,10 @@ exit $ret %changelog +* Fri Jun 27 2025 Remi Collet - 1.3.1-1 +- update to 1.3.1 +- re-license spec file to CECILL-2.1 + * Sat Jan 18 2025 Fedora Release Engineering - 1.3.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild diff --git a/sources b/sources index b51df95..1999a36 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (php-google-recaptcha-1.3.0-d59a801.tgz) = 3dc26a7b7b09a59216bce94b8ce76d537bce9804dfe945c3263cabf073d9196302a3caac75a13021ba8acd141ff3419f09cee502d44f20da204a768c4992ac80 +SHA512 (php-google-recaptcha-1.3.1-56522c2.tgz) = c1eda00dcb54ad91601c05b572b68a9ca657fc53723abc78ccb8807d1facbfb49386335377c04aabd415c5de2a95619728963090f49236d71d0b7b79db0df889 From 6c9a1e65dfe7a3c46529bdd47f5a5f3761f89142 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 25 Jul 2025 05:12:34 +0000 Subject: [PATCH 23/23] Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild --- php-google-recaptcha.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-google-recaptcha.spec b/php-google-recaptcha.spec index faa427b..ebf56a0 100644 --- a/php-google-recaptcha.spec +++ b/php-google-recaptcha.spec @@ -15,7 +15,7 @@ Name: php-%{gh_owner}-%{gh_project} Version: 1.3.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: reCAPTCHA PHP client library License: BSD-3-Clause @@ -113,6 +113,9 @@ exit $ret %changelog +* Fri Jul 25 2025 Fedora Release Engineering - 1.3.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + * Fri Jun 27 2025 Remi Collet - 1.3.1-1 - update to 1.3.1 - re-license spec file to CECILL-2.1