diff options
Diffstat (limited to 'php-laminas-config.spec')
-rw-r--r-- | php-laminas-config.spec | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/php-laminas-config.spec b/php-laminas-config.spec index e60f397..121eae7 100644 --- a/php-laminas-config.spec +++ b/php-laminas-config.spec @@ -23,7 +23,7 @@ Name: php-%{gh_project} Version: 2.6.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: %{namespace} Framework %{library} component License: BSD @@ -104,6 +104,9 @@ Requires: php-spl Requires: php-xmlreader Requires: php-xmlwriter +# remirepo:2 +Obsoletes: php-ZendFramework2-%{library} < 2.5 +Provides: php-ZendFramework2-%{library} = %{version} # Compatibily ensure by the bridge Obsoletes: php-zendframework-%{zf_name} < 2.6.0-99 Provides: php-zendframework-%{zf_name} = %{version}-99 @@ -176,7 +179,7 @@ EOF : check compat autoloader php -r ' require "%{buildroot}%{php_home}/Zend/%{library}/autoload.php"; -return (class_exists("\\Zend\\%{library}\\Config") ? 0 : 1); +exit (class_exists("\\Zend\\%{library}\\Config") ? 0 : 1); ' : upstream test suite @@ -203,6 +206,9 @@ exit $ret %changelog +* Fri Jan 17 2020 Remi Collet <remi@remirepo.net> - 2.6.0-2 +- cleanup + * Thu Jan 9 2020 Remi Collet <remi@remirepo.net> - 2.6.0-1 - switch to Laminas |