diff options
author | Remi Collet <remi@remirepo.net> | 2023-02-03 13:32:22 +0100 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2023-02-03 13:32:22 +0100 |
commit | 05bcb2aeee51ef83869f3b77504fbe63e2e266cf (patch) | |
tree | 25d8147c15dff3286668f465d78445b721eceb4e /php-sebastian-environment6.spec | |
parent | 8b7013f2ac437bcda908819f8f51e6e46b0c21d7 (diff) |
update to 6.0.0
raise dependency on PHP 8.1
rename to php-sebastian-environment6
move to /usr/share/php/SebastianBergmann/Environment6
Diffstat (limited to 'php-sebastian-environment6.spec')
-rw-r--r-- | php-sebastian-environment6.spec | 35 |
1 files changed, 21 insertions, 14 deletions
diff --git a/php-sebastian-environment6.spec b/php-sebastian-environment6.spec index 37f858f..dbb0f3e 100644 --- a/php-sebastian-environment6.spec +++ b/php-sebastian-environment6.spec @@ -1,4 +1,4 @@ -# remirepo/fedora spec file for php-sebastian-environment5 +# remirepo/fedora spec file for php-sebastian-environment6 # # Copyright (c) 2014-2023 Remi Collet # License: CC-BY-SA-4.0 @@ -7,10 +7,11 @@ # Please, preserve the changelog entries # -%bcond_without tests +# disabled until phpunit10 available +%bcond_with tests # Sources -%global gh_commit 830c43a844f1f8d5b7a1f6d6076b784454d8b7ed +%global gh_commit b6f3694c6386c7959915a0037652e0c40f6f69cc %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner sebastianbergmann %global gh_project environment @@ -18,13 +19,13 @@ %global pk_vendor sebastian %global pk_project %{gh_project} # Namespace -%global major 5 +%global major 6 %global php_home %{_datadir}/php %global ns_vendor SebastianBergmann %global ns_project Environment Name: php-%{pk_vendor}-%{pk_project}%{major} -Version: 5.1.5 +Version: 6.0.0 Release: 1%{?dist} Summary: Handle HHVM/PHP environments, version %{major} @@ -35,21 +36,21 @@ Source1: makesrc.sh BuildArch: noarch -BuildRequires: php(language) >= 7.3 +BuildRequires: php(language) >= 8.1 BuildRequires: php-pcre BuildRequires: php-posix # Autoloader -BuildRequires: php-fedora-autoloader-devel >= 1.0.0 +BuildRequires: php-fedora-autoloader-devel %if %{with tests} # from composer.json, "require-dev": { -# "phpunit/phpunit": "^9.3" -BuildRequires: phpunit9 >= 9.3 +# "phpunit/phpunit": "^10.0" +BuildRequires: phpunit10 %endif # from composer.json, "require": { -# "php": ">=7.3" -Requires: php(language) >= 7.3 -# From phpcompatinfo report for 4.0.1 +# "php": ">=8.1" +Requires: php(language) >= 8.1 +# From phpcompatinfo report for 6.0.0 Requires: php-pcre Requires: php-posix # Autoloader @@ -87,11 +88,11 @@ touch vendor/autoload.php : Run tests ret=0 -for cmd in php php74 php80 php81; do +for cmd in php php81 php82; do if which $cmd; then $cmd -d auto_prepend_file=%{buildroot}%{php_home}/%{ns_vendor}/%{ns_project}%{major}/autoload.php \ -d pcov.enabled=1 \ - %{_bindir}/phpunit9 --verbose || ret=1 + %{_bindir}/phpunit10 --verbose || ret=1 fi done exit $ret @@ -108,6 +109,12 @@ exit $ret %changelog +* Fri Feb 3 2023 Remi Collet <remi@remirepo.net> - 6.0.0-1 +- update to 6.0.0 +- raise dependency on PHP 8.1 +- rename to php-sebastian-environment6 +- move to /usr/share/php/SebastianBergmann/Environment6 + * Fri Feb 3 2023 Remi Collet <remi@remirepo.net> - 5.1.5-1 - update to 5.1.5 |