]> TLD Linux GIT Repositories - packages/php-pear-PEAR.git/commitdiff
- updated to 1.10.12, don't use hardcoded PHP BRs
authorMarcin Krol <hawk@tld-linux.org>
Sun, 3 May 2020 16:32:48 +0000 (18:32 +0200)
committerMarcin Krol <hawk@tld-linux.org>
Sun, 3 May 2020 16:32:48 +0000 (18:32 +0200)
php-pear-PEAR.spec

index 395c14631812ff28bce35daea371c412407a7774..0f4a5b6b90152987edf68b4aa707efa88ec16bfc 100644 (file)
@@ -6,38 +6,36 @@
 #
 %define                _pearname       PEAR
 %define                _status         stable
-%define                php_name        php72
-%define                php_min_version 5.6.0
-%include       /usr/lib/rpm/macros.php
+%define                php_min_version 7.2.0
 Summary:       PEAR Base System
 Summary(pl.UTF-8):     Podstawowy system PEAR
 Name:          php-pear-%{_pearname}
-Version:       1.10.9
+Version:       1.10.12
 Release:       1
 Epoch:         1
 License:       New BSD License
 Group:         Development/Languages/PHP
 Source0:       https://pear.php.net/get/%{_pearname}-%{version}.tgz
-# Source0-md5: 5015d15753c5b44ac694a6906a5d8c15
-Source1:       https://pear.php.net/get/Console_Getopt-1.4.1.tgz
-# Source1-md5: a95c86528f910562772274eefb90ca2c
+# Source0-md5: 37928350e906191f0171a4a34dd3aa0e
+Source1:       https://pear.php.net/get/Console_Getopt-1.4.3.tgz
+# Source1-md5: 78620b71acdf113968c3482845bcbbc2
 Source2:       https://pear.php.net/get/Structures_Graph-1.1.1.tgz
 # Source2-md5: f1be7827074c4f51eb1af245f0f7c5c4
 Patch0:                %{name}-sysconfdir.patch
 Patch1:                ext-check.patch
 Patch2:                %{name}-FHS.patch
 URL:           https://pear.php.net/package/PEAR
-BuildRequires: php72-pcre
-BuildRequires: php72-xml
-BuildRequires: /usr/bin/php72
+BuildRequires: php(pcre)
+BuildRequires: php(xml)
+BuildRequires: /usr/bin/php
 BuildRequires: rpm-php-pearprov >= 4.4.2-30.1
-BuildRequires: rpmbuild(macros) >= 1.654
+BuildRequires: rpmbuild(macros) >= 1.747
 Requires:      %{name}-core = %{epoch}:%{version}-%{release}
 Requires:      /usr/bin/php
 Requires:      php(core) >= %{php_min_version}
-Requires:      php(pcre)
-Requires:      php(xml)
-Requires:      php(zlib)
+Requires:      php(pcre) >= %{php_min_version}
+Requires:      php(xml) >= %{php_min_version}
+Requires:      php(zlib) >= %{php_min_version}
 Requires:      php-pear >= 4:1.2-1
 Requires:      php-pear-Archive_Tar >= 1.4.0
 Requires:      php-pear-Console_Getopt >= 1.4.1