From 2e79384309d52865069da24b6261794f5caff80e Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 17 Jan 2020 16:11:49 +0100 Subject: cleanup --- php-laminas-mail.spec | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/php-laminas-mail.spec b/php-laminas-mail.spec index ee0f04e..80fe19f 100644 --- a/php-laminas-mail.spec +++ b/php-laminas-mail.spec @@ -23,7 +23,7 @@ Name: php-%{gh_project} Version: 2.10.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: %{namespace} Framework %{library} component License: BSD @@ -120,6 +120,9 @@ Requires: php-date Requires: php-pcre Requires: php-spl +# remirepo:2 +Obsoletes: php-ZendFramework2-%{library} < 2.5 +Provides: php-ZendFramework2-%{library} = %{version} # Compatibily ensure by the bridge Obsoletes: php-zendframework-%{zf_name} < 2.10.0-99 Provides: php-zendframework-%{zf_name} = %{version}-99 @@ -198,7 +201,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}\\Message") ? 0 : 1); ' : upstream test suite @@ -227,6 +230,9 @@ exit $ret %changelog +* Fri Jan 17 2020 Remi Collet - 2.10.0-2 +- cleanup + * Thu Jan 9 2020 Remi Collet - 2.10.0-1 - switch to Laminas -- cgit