summaryrefslogtreecommitdiffstats
path: root/php-pear.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-pear.spec')
-rw-r--r--php-pear.spec11
1 files changed, 9 insertions, 2 deletions
diff --git a/php-pear.spec b/php-pear.spec
index 619fcb2..6a3b9fd 100644
--- a/php-pear.spec
+++ b/php-pear.spec
@@ -40,7 +40,7 @@
Summary: PHP Extension and Application Repository framework
Name: %{?scl_prefix}php-pear
Version: 1.10.5
-Release: 5%{?dist}
+Release: 6%{?dist}
Epoch: 1
# PEAR, PEAR_Manpages, Archive_Tar, XML_Util, Console_Getopt are BSD
# Structures_Graph is LGPLv3+
@@ -62,6 +62,9 @@ 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
+# https://github.com/pear/pear-core/pull/71
+Patch0: https://patch-diff.githubusercontent.com/raw/pear/pear-core/pull/71.patch
+
BuildArch: noarch
BuildRequires: %{?scl_prefix}php(language) > 5.4
BuildRequires: %{?scl_prefix}php-cli
@@ -276,7 +279,7 @@ install -m 644 -D macros.pear \
# apply patches on installed PEAR tree
pushd %{buildroot}%{peardir}
-: no patch \\o/
+patch --no-backup --fuzz 0 -p1 < %{PATCH0}
popd
# Why this file here ?
@@ -462,6 +465,10 @@ fi
%changelog
+* Tue Feb 13 2018 Remi Collet <remi@remirepo.net> - 1:1.10.5-6
+- add patch for PHP 7.2 from
+ https://github.com/pear/pear-core/pull/71
+
* Tue Dec 19 2017 Remi Collet <remi@remirepo.net> - 1:1.10.5-5
- drop autoloader from SCL packages