diff options
author | Remi Collet <remi@remirepo.net> | 2022-12-06 13:50:31 +0100 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2022-12-06 13:50:31 +0100 |
commit | 1482e745f3d4eecf8d4d0151b083219eb471cbdd (patch) | |
tree | 5f52162888422b28122a7995fec4bd0fae18751d /php-laminas-server.spec | |
parent | 031b61aa97bf768b580baeb45a33fcaeb30b84f9 (diff) |
Revert "update to 2.13.0"
This reverts commit 031b61aa97bf768b580baeb45a33fcaeb30b84f9.
Diffstat (limited to 'php-laminas-server.spec')
-rw-r--r-- | php-laminas-server.spec | 25 |
1 files changed, 12 insertions, 13 deletions
diff --git a/php-laminas-server.spec b/php-laminas-server.spec index 9655117..15a464f 100644 --- a/php-laminas-server.spec +++ b/php-laminas-server.spec @@ -7,7 +7,7 @@ # Please, preserve the changelog entries # %global bootstrap 0 -%global gh_commit 572ce4194cb9024a06be2964d5be8c628a93ee66 +%global gh_commit c249f0638c8bdd67305509b7173bd535c21d109d %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner laminas %global gh_project laminas-server @@ -22,7 +22,7 @@ %endif Name: php-%{gh_project} -Version: 2.13.0 +Version: 2.12.0 Release: 1%{?dist} Summary: Laminas Framework %{library} component @@ -34,15 +34,15 @@ Source1: makesrc.sh BuildArch: noarch # Tests %if %{with_tests} -BuildRequires: php(language) >= 7.4 +BuildRequires: php(language) >= 8.0 BuildRequires: php-pcre BuildRequires: php-spl BuildRequires: php-reflection # From composer, "require-dev": { -# "laminas/laminas-coding-standard": "~2.1.4", +# "laminas/laminas-coding-standard": "~1.0.0", # "phpunit/phpunit": "^9.5.5", -# "psalm/plugin-phpunit": "^0.18.0", -#+ "vimeo/psalm": "^5.0.0" +# "psalm/plugin-phpunit": "^0.15.1", +#+ "vimeo/psalm": "^4.6.4" # remirepo:1 %if 0%{?fedora} >= 27 || 0%{?rhel} >= 8 BuildRequires: (php-autoloader(%{gh_owner}/laminas-code) >= 3.5.1 with php-autoloader(%{gh_owner}/laminas-code) < 5) @@ -61,10 +61,11 @@ BuildRequires: phpunit9 >= 9.5.5 BuildRequires: php-fedora-autoloader-devel # From composer, "require": { -# "php": "^7.4 || ~8.0.0 || ~8.1.0", +# "php": "~8.0.0 || ~8.1.0 || ~8.2.0", # "laminas/laminas-code": "^3.5.1 || ^4.0.0", -# "laminas/laminas-stdlib": "^3.3.1" -Requires: php(language) >= 7.4 +# "laminas/laminas-stdlib": "^3.3.1", +# "laminas/laminas-zendframework-bridge": "^1.2.0" +Requires: php(language) >= 8.0 %if ! %{bootstrap} # remirepo:1 %if 0%{?fedora} >= 27 || 0%{?rhel} >= 8 @@ -153,6 +154,7 @@ cat << 'EOF' | tee vendor/autoload.php <?php require_once '%{buildroot}%{php_home}/%{namespace}/%{library}/autoload.php'; \Fedora\Autoloader\Autoload::addPsr4('%{namespace}Test\\%{library}\\', dirname(__DIR__) . '/test'); +require_once 'test/Reflection/TestAsset/functions.php'; require_once 'test/TestAsset/reflectionTestFunction.php'; EOF @@ -168,7 +170,7 @@ done : check compat autoloader php -r ' require "%{buildroot}%{php_home}/Zend/%{library}/autoload.php"; -exit (interface_exists("\\Zend\\%{library}\\%{library}Interface") ? 0 : 1); +exit (interface_exists("\\Zend\\%{library}\\%{library}") ? 0 : 1); ' exit $ret @@ -188,9 +190,6 @@ exit $ret %changelog -* Tue Dec 6 2022 Remi Collet <remi@remirepo.net> - 2.13.0-1 -- update to 2.13.0 - * Wed Nov 16 2022 Remi Collet <remi@remirepo.net> - 2.12.0-1 - update to 2.12.0 (no change) - raise dependency on PHP 8.0 |