summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-laminas-i18n.spec12
1 files changed, 9 insertions, 3 deletions
diff --git a/php-laminas-i18n.spec b/php-laminas-i18n.spec
index 4a0e3ff..9932e5e 100644
--- a/php-laminas-i18n.spec
+++ b/php-laminas-i18n.spec
@@ -20,7 +20,7 @@
Name: php-%{gh_project}
Version: 2.10.1
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: %{namespace} Framework %{library} component
License: BSD
@@ -108,7 +108,7 @@ Suggests: php-autoloader(%{gh_owner}/laminas-i18n-resources)
Suggests: php-autoloader(%{gh_owner}/laminas-servicemanager)
Suggests: php-autoloader(%{gh_owner}/laminas-validator)
Suggests: php-autoloader(%{gh_owner}/laminas-view)
-# remirepo:3
+# remirepo:4
%else
Requires: php-laminas-stdlib
Requires: php-laminas-zendframework-bridge
@@ -121,6 +121,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.10.1-99
Provides: php-zendframework-%{zf_name} = %{version}-99
@@ -201,7 +204,7 @@ EOF
: check compat autoloader
php -r '
require "%{buildroot}%{php_home}/Zend/%{library}/autoload.php";
-return (class_exists("\\Zend\\%{library}\\ConfigProvider") ? 0 : 1);
+exit (class_exists("\\Zend\\%{library}\\ConfigProvider") ? 0 : 1);
'
%if %{bootstrap}
@@ -240,6 +243,9 @@ exit $ret
%changelog
+* Fri Jan 17 2020 Remi Collet <remi@remirepo.net> - 2.10.1-2
+- cleanup
+
* Thu Jan 9 2020 Remi Collet <remi@remirepo.net> - 2.10.1-1
- switch to Laminas
- boostrap build without config, filter, validator and view