diff options
-rw-r--r-- | php-laminas-mime.spec | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/php-laminas-mime.spec b/php-laminas-mime.spec index 1865785..3c3ca1a 100644 --- a/php-laminas-mime.spec +++ b/php-laminas-mime.spec @@ -20,7 +20,7 @@ Name: php-%{gh_project} Version: 2.7.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: %{namespace} Framework %{library} component License: BSD @@ -84,6 +84,9 @@ Requires: php-iconv 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.7.2-99 Provides: php-zendframework-%{zf_name} = %{version}-99 @@ -151,7 +154,7 @@ EOF : check compat autoloader php -r ' require "%{buildroot}%{php_home}/Zend/%{library}/autoload.php"; -return (class_exists("\\Zend\\%{library}\\Mime") ? 0 : 1); +exit (class_exists("\\Zend\\%{library}\\Mime") ? 0 : 1); ' %if %{bootstrap} @@ -188,6 +191,9 @@ exit $ret %changelog +* Fri Jan 17 2020 Remi Collet <remi@remirepo.net> - 2.7.2-2 +- cleanup + * Thu Jan 9 2020 Remi Collet <remi@remirepo.net> - 2.7.2-1 - switch to Laminas - bootstrap build without mail |