diff options
-rw-r--r-- | php-laminas-console.spec | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/php-laminas-console.spec b/php-laminas-console.spec index 857b576..b89cd17 100644 --- a/php-laminas-console.spec +++ b/php-laminas-console.spec @@ -23,7 +23,7 @@ Name: php-%{gh_project} Version: 2.8.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: %{namespace} Framework %{library} component License: BSD @@ -98,6 +98,9 @@ Requires: php-reflection Requires: php-spl Requires: php-xml +# remirepo:2 +Obsoletes: php-ZendFramework2-%{library} < 2.5 +Provides: php-ZendFramework2-%{library} = %{version} # Compatibily ensure by the bridge Obsoletes: php-zendframework-%{zf_name} < 2.8.0-99 Provides: php-zendframework-%{zf_name} = %{version}-99 @@ -167,7 +170,7 @@ EOF : check compat autoloader php -r ' require "%{buildroot}%{php_home}/Zend/%{library}/autoload.php"; -return (class_exists("\\Zend\\%{library}\\Message") ? 0 : 1); +exit (class_exists("\\Zend\\%{library}\\Console") ? 0 : 1); ' : upstream test suite @@ -194,6 +197,9 @@ exit $ret %changelog +* Fri Jan 17 2020 Remi Collet <remi@remirepo.net> - 2.8.0-2 +- cleanup + * Fri Jan 10 2020 Remi Collet <remi@remirepo.net> - 2.8.0-1 - switch to Laminas |