From ea078a404d9f69efb2d17cdcd543f980edd706c8 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 17 Jan 2020 15:20:33 +0100 Subject: cleanup --- php-laminas-server.spec | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'php-laminas-server.spec') diff --git a/php-laminas-server.spec b/php-laminas-server.spec index 069bcd9..587d08f 100644 --- a/php-laminas-server.spec +++ b/php-laminas-server.spec @@ -23,7 +23,7 @@ Name: php-%{gh_project} Version: 2.8.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Laminas Framework %{library} component License: BSD @@ -84,6 +84,9 @@ Requires: php-pcre Requires: php-reflection 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.8.1-99 Provides: php-zendframework-%{zf_name} = %{version}-99 @@ -161,7 +164,7 @@ done : check compat autoloader php -r ' require "%{buildroot}%{php_home}/Zend/%{library}/autoload.php"; -return (class_exists("\\Zend\\%{library}\\%{library}") ? 0 : 1); +exit (interface_exists("\\Zend\\%{library}\\%{library}") ? 0 : 1); ' exit $ret @@ -181,6 +184,9 @@ exit $ret %changelog +* Fri Jan 17 2020 Remi Collet - 2.8.1-2 +- cleanup + * Wed Jan 8 2020 Remi Collet - 2.8.1-1 - switch to Laminas -- cgit