summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2020-01-17 14:32:49 +0100
committerRemi Collet <remi@remirepo.net>2020-01-17 14:32:49 +0100
commit933a3d8f4634f5d0629ca493ab1bee99ac0e9b36 (patch)
treece5fbcba86e0bcebf91c767b6f1376602ced3eb2
parentb0b2b534b983cf388f269c5caebded20ed03e87a (diff)
cleanup
-rw-r--r--php-laminas-servicemanager.spec10
1 files changed, 8 insertions, 2 deletions
diff --git a/php-laminas-servicemanager.spec b/php-laminas-servicemanager.spec
index ecfc3f5..f391379 100644
--- a/php-laminas-servicemanager.spec
+++ b/php-laminas-servicemanager.spec
@@ -23,7 +23,7 @@
Name: php-%{gh_project}
Version: 3.4.0
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Laminas Framework %{library} component
License: BSD
@@ -116,6 +116,9 @@ Suggests: php-composer(ocramius/proxy-manager)
Requires: php-composer(fedora/autoloader)
%endif
+# 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.0-99
Provides: php-zendframework-%{zf_name} = %{version}-99
@@ -197,7 +200,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
@@ -217,6 +220,9 @@ exit $ret
%changelog
+* Fri Jan 17 2020 Remi Collet <remi@remirepo.net> - 3.4.0-2
+- cleanup
+
* Tue Jan 7 2020 Remi Collet <remi@remirepo.net> - 3.4.0-1
- switch to Laminas
- add fix for PHP 7.4 from