diff options
author | Remi Collet <remi@remirepo.net> | 2020-01-17 14:33:07 +0100 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2020-01-17 14:33:07 +0100 |
commit | 99dac95e1b08c6a825f1c98a3fe0b1762b743595 (patch) | |
tree | 0084bebbf260bb22001803cc65888e09628c4f27 | |
parent | 0d7b1b950081cffae960902cc037250b65314acf (diff) |
cleanup
-rw-r--r-- | php-laminas-code.spec | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/php-laminas-code.spec b/php-laminas-code.spec index affec98..cfbdff5 100644 --- a/php-laminas-code.spec +++ b/php-laminas-code.spec @@ -23,7 +23,7 @@ Name: php-%{gh_project} Version: 3.4.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Laminas Framework %{library} component License: BSD @@ -93,6 +93,9 @@ Requires: php-reflection Requires: php-spl Requires: php-tokenizer +# remirepo:2 +Obsoletes: php-ZendFramework2-%{library} < 2.5 +Provides: php-ZendFramework2-%{library} = %{version} # Compatibily ensure by the bridge Obsoletes: php-zendframework-%{zf_name} < 3.4.1-99 Provides: php-zendframework-%{zf_name} = %{version}-99 @@ -171,7 +174,7 @@ done : check compat autoloader php -r ' require "%{buildroot}%{php_home}/Zend/%{library}/autoload.php"; -return (class_exists("\\Zend\\%{library}\\NameInformation") ? 0 : 1); +exit (class_exists("\\Zend\\%{library}\\NameInformation") ? 0 : 1); ' exit $ret @@ -191,6 +194,9 @@ exit $ret %changelog +* Fri Jan 17 2020 Remi Collet <remi@remirepo.net> - 3.4.1-2 +- cleanup + * Tue Jan 7 2020 Remi Collet <remi@remirepo.net> - 3.4.1-1 - switch to Laminas |