update to 1.10.13

This commit is contained in:
lyn1001 2023-07-13 10:27:18 +08:00
parent 524bf6b1fd
commit 0e78317bde
4 changed files with 30 additions and 3 deletions

Binary file not shown.

BIN
PEAR-1.10.13.tgz Normal file

Binary file not shown.

22
pear-php82.patch Normal file
View File

@ -0,0 +1,22 @@
From 4217e3ea503ba6c0651ea2d182fb9cb88f21ce0b Mon Sep 17 00:00:00 2001
From: Remi Collet <remi@remirepo.net>
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

View File

@ -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 <thistleslyn@163.com> - 1:1.10.13-1
- update to 1.10.13
* Tue Sep 7 2021 zhengyaohui <zhengyaohui1@huawei.com> - 1.10.12-1
- package init