- Minimum required PHP version is 8.0.0

OBS-URL: https://build.opensuse.org/package/show/server:php:extensions/php-phalcon?expand=0&rev=31
This commit is contained in:
2024-02-13 22:04:27 +00:00
committed by Git OBS Bridge
parent b58930f9aa
commit 99b3ec8cdb
2 changed files with 4 additions and 8 deletions

View File

@@ -16,6 +16,7 @@ Tue Feb 13 21:38:26 UTC 2024 - Arjen de Korte <suse+build@de-korte.org>
[#16519]
* Fixed deprecation warning in callables `Use of "static" in callables is
deprecated` for PHP 8.2+ [#16263]
- Minimum required PHP version is 8.0.0
-------------------------------------------------------------------
Sat Jan 20 20:17:55 UTC 2024 - Arjen de Korte <suse+build@de-korte.org>

View File

@@ -19,7 +19,7 @@
%define pkg_name phalcon
%define flavor @BUILD_FLAVOR@%{nil}
%if "%{flavor}" == "" || (0%{?suse_version} >= 1550 && "%{flavor}" == "php7")
%if "%{flavor}" == "" || "%{flavor}" == "php7"
%define php_name php
ExclusiveArch: do-not-build
%else
@@ -44,16 +44,11 @@ BuildRequires: %{php_name}-devel
BuildRequires: %{php_name}-pdo
BuildRequires: %{php_name}-psr >= 0.7.0
BuildRequires: gcc
%if "%{php_name}" == "php7"
BuildRequires: %{php_name} >= 7.4.1
BuildRequires: %{php_name}-json
%else
BuildRequires: %{php_name} < 8.3
%endif
BuildRequires: %{php_name} < 8.4
Requires: %{php_name}-mysql
%description
Phalcon is a framework for PHP7 written as a C extension.
Phalcon is a framework for PHP8 written as a C extension.
Zephir is a high-level language, something between C and PHP. It is
both dynamic and static typed and it supports the features we need to
create and maintain a project like Phalcon.