diff --git a/PEAR-1.10.12.tgz b/PEAR-1.10.12.tgz deleted file mode 100644 index 8cdd9bd..0000000 Binary files a/PEAR-1.10.12.tgz and /dev/null differ diff --git a/PEAR-1.10.13.tgz b/PEAR-1.10.13.tgz new file mode 100644 index 0000000..951d9a2 Binary files /dev/null and b/PEAR-1.10.13.tgz differ diff --git a/pear-php82.patch b/pear-php82.patch new file mode 100644 index 0000000..a8d6bcb --- /dev/null +++ b/pear-php82.patch @@ -0,0 +1,22 @@ +From 4217e3ea503ba6c0651ea2d182fb9cb88f21ce0b Mon Sep 17 00:00:00 2001 +From: Remi Collet +Date: Mon, 20 Feb 2023 16:02:34 +0100 +Subject: [PATCH] Fix: Creation of dynamic property PEAR_Error::$callback is + deprecated + +--- + PEAR.php | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/PEAR.php b/PEAR.php +index fee6638f4..6dba3b010 100644 +--- a/PEAR.php ++++ b/PEAR.php +@@ -859,6 +859,7 @@ class PEAR_Error + var $message = ''; + var $userinfo = ''; + var $backtrace = null; ++ var $callback = null; + + /** + * PEAR_Error constructor diff --git a/php-pear.spec b/php-pear.spec index 9c22355..35e783f 100644 --- a/php-pear.spec +++ b/php-pear.spec @@ -10,10 +10,10 @@ %{!?pecl_xmldir: %global pecl_xmldir %{_sharedstatedir}/php/peclxml} Summary: PHP Extension and Application Repository framework Name: php-pear -Version: 1.10.12 +Version: 1.10.13 Release: 1 Epoch: 1 -License: BSD and LGPLv3+ +License: BSD-2-Clause AND BSD-3-Clause AND LGPL-3.0-or-later URL: http://pear.php.net/package/PEAR Source0: http://download.pear.php.net/package/PEAR-%{version}%{?pearprever}.tgz Source1: install-pear.php @@ -27,6 +27,8 @@ Source22: http://pear.php.net/get/Console_Getopt-%{getoptver}.tgz Source23: http://pear.php.net/get/Structures_Graph-%{structver}.tgz Source24: http://pear.php.net/get/XML_Util-%{xmlutil}.tgz Source25: http://pear.php.net/get/PEAR_Manpages-%{manpages}.tgz +Patch0: pear-php82.patch + BuildArch: noarch BuildRequires: php(language) > 5.4 php-cli php-xml %{_bindir}/gpg php-devel %if %{with_tests} @@ -107,7 +109,7 @@ install -m 755 %{SOURCE12} %{buildroot}%{_bindir}/peardev install -m 644 -D macros.pear \ %{buildroot}%{macrosdir}/macros.pear pushd %{buildroot}%{peardir} -: no patch + patch -p1 <%{PATCH0} popd rm -rf %{buildroot}/.depdb* %{buildroot}/.lock %{buildroot}/.channels %{buildroot}/.filemap install -m 644 *.xml %{buildroot}%{_localstatedir}/lib/pear/pkgxml @@ -191,5 +193,8 @@ fi %{_mandir}/man5/pear.conf.5* %changelog +* Thu Jul 13 2023 liyanan - 1:1.10.13-1 +- update to 1.10.13 + * Tue Sep 7 2021 zhengyaohui - 1.10.12-1 - package init