summaryrefslogtreecommitdiffstats
path: root/php81.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2023-02-01 10:14:44 +0100
committerRemi Collet <remi@php.net>2023-02-01 10:14:44 +0100
commitb2bcea3018fafd70489baeeb80b323f15bd6d9d9 (patch)
treee1fb1aeadcd9b971a79c7b21dc83b1c4dc0221d6 /php81.spec
parentc769bf032026cbde4b57a28f5c1774287a747b90 (diff)
Update to 8.1.15 - http://www.php.net/releases/8_1_15.phpv8.1.15
add dependency on pcre2 minimal version
Diffstat (limited to 'php81.spec')
-rw-r--r--php81.spec14
1 files changed, 12 insertions, 2 deletions
diff --git a/php81.spec b/php81.spec
index 72aad6f..e74b64c 100644
--- a/php81.spec
+++ b/php81.spec
@@ -108,7 +108,7 @@
%bcond_with zip
%global upver 8.1.15
-%global rcver RC1
+#global rcver RC1
Summary: PHP scripting language for creating dynamic web sites
Name: php
@@ -206,7 +206,7 @@ BuildRequires: pkgconfig(libedit)
%if %{with libpcre}
BuildRequires: pkgconfig(libpcre2-8) >= 10.30
%else
-Provides: bundled(pcre2) = 10.32
+Provides: bundled(pcre2) = 10.39
%endif
%if %{with libxcrypt}
BuildRequires: pkgconfig(libxcrypt)
@@ -380,6 +380,12 @@ Summary: Common files for PHP
# fileinfo is licensed under PHP version 3.0
# regex, libmagic are licensed under BSD
License: PHP and BSD
+
+%if %{with libpcre}
+%global pcre2_buildver %(pkg-config --silence-errors --modversion libpcre2-8 2>/dev/null || echo 10.30)
+Requires: pcre2%{?_isa} >= %{pcre2_buildver}
+%endif
+
# ABI/API check - Arch specific
Provides: php(api) = %{apiver}-%{__isa_bits}
Provides: php(zend-abi) = %{zendver}-%{__isa_bits}
@@ -2175,6 +2181,10 @@ fi
%changelog
+* Wed Feb 1 2023 Remi Collet <remi@remirepo.net> - 8.1.15-1
+- Update to 8.1.15 - http://www.php.net/releases/8_1_15.php
+- add dependency on pcre2 minimal version
+
* Wed Jan 18 2023 Remi Collet <remi@remirepo.net> - 8.1.15~RC1-1
- update to 8.1.15RC1