#
%define _pearname PEAR
%define _status stable
-%define php_name php%{?php_suffix}
-%define php_min_version 5.4.0
+%define php_name php72
+%define php_min_version 5.6.0
%include /usr/lib/rpm/macros.php
Summary: PEAR Base System
Summary(pl.UTF-8): Podstawowy system PEAR
Name: php-pear-%{_pearname}
-Version: 1.10.1
-Release: 2
+Version: 1.10.5
+Release: 1
Epoch: 1
License: New BSD License
Group: Development/Languages/PHP
Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz
-# Source0-md5: da3f4d00c7415d39cb57848742e09894
+# Source0-md5: cf8bacd129b8deafc1d1a931aa31f74f
Source1: http://pear.php.net/get/Console_Getopt-1.4.1.tgz
# Source1-md5: a95c86528f910562772274eefb90ca2c
Source2: http://pear.php.net/get/Structures_Graph-1.1.1.tgz
Patch1: ext-check.patch
Patch2: %{name}-FHS.patch
URL: http://pear.php.net/package/PEAR
-BuildRequires: %{php_name}-pcre
-BuildRequires: %{php_name}-xml
-BuildRequires: /usr/bin/php
+BuildRequires: php72-pcre
+BuildRequires: php72-xml
+BuildRequires: /usr/bin/php72
BuildRequires: rpm-php-pearprov >= 4.4.2-30.1
BuildRequires: rpmbuild(macros) >= 1.654
Requires: %{name}-core = %{epoch}:%{version}-%{release}