diff options
author | Remi Collet <remi@remirepo.net> | 2020-01-17 14:33:49 +0100 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2020-01-17 14:33:49 +0100 |
commit | e427f9bd9a6631087b4fdad41d81ff4fb4bb8e43 (patch) | |
tree | e6a69cc5bfdfe42a1ac4465e2a8fa720191cd262 | |
parent | a3a4b1d0c3c2f8718e3075e7b5378a39eca860da (diff) |
cleanup
-rw-r--r-- | php-laminas-escaper.spec | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/php-laminas-escaper.spec b/php-laminas-escaper.spec index 7e4ab8c..bd547d5 100644 --- a/php-laminas-escaper.spec +++ b/php-laminas-escaper.spec @@ -23,7 +23,7 @@ Name: php-%{gh_project} Version: 2.6.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Laminas Framework %{library} component License: BSD @@ -76,6 +76,9 @@ Requires: php-spl # Autoloader Requires: php-composer(fedora/autoloader) +# 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.1-99 Provides: php-zendframework-%{zf_name} = %{version}-99 @@ -146,7 +149,7 @@ done : check compat autoloader php -r ' require "%{buildroot}%{php_home}/Zend/%{library}/autoload.php"; -return (class_exists("\\Zend\\%{library}\\%{library}") ? 0 : 1); +exit (class_exists("\\Zend\\%{library}\\%{library}") ? 0 : 1); ' exit $ret @@ -166,6 +169,9 @@ exit $ret %changelog +* Fri Jan 17 2020 Remi Collet <remi@remirepo.net> - 2.6.1-2 +- cleanup + * Mon Jan 6 2020 Remi Collet <remi@remirepo.net> - 2.6.1-1 - switch to Laminas |