summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-laminas-cache.spec14
1 files changed, 12 insertions, 2 deletions
diff --git a/php-laminas-cache.spec b/php-laminas-cache.spec
index e82ef2f..e328ba3 100644
--- a/php-laminas-cache.spec
+++ b/php-laminas-cache.spec
@@ -20,7 +20,7 @@
Name: php-%{gh_project}
Version: 2.9.0
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: %{namespace} Framework %{library} component
License: BSD
@@ -133,6 +133,13 @@ Requires: php-spl
# Autoloader
Requires: php-composer(fedora/autoloader)
+# remirepo:6
+Obsoletes: php-ZendFramework2-%{library} < 2.5
+Obsoletes: php-ZendFramework2-%{library}-apc < 2.5
+Obsoletes: php-ZendFramework2-%{library}-memcached < 2.5
+Provides: php-ZendFramework2-%{library} = %{version}
+Provides: php-ZendFramework2-%{library}-apc = %{version}
+Provides: php-ZendFramework2-%{library}-memcached = %{version}
# Compatibily ensure by the bridge
Obsoletes: php-zendframework-%{zf_name} < 2.9.0-99
Provides: php-zendframework-%{zf_name} = %{version}-99
@@ -233,7 +240,7 @@ done
: check compat autoloader
php -r '
require "%{buildroot}%{php_home}/Zend/%{library}/autoload.php";
-return (class_exists("\\Zend\\%{library}\\StorageFactory") ? 0 : 1);
+exit (class_exists("\\Zend\\%{library}\\StorageFactory") ? 0 : 1);
'
exit $ret
@@ -253,6 +260,9 @@ exit $ret
%changelog
+* Fri Jan 17 2020 Remi Collet <remi@remirepo.net> - 2.9.0-2
+- cleanup
+
* Wed Jan 8 2020 Remi Collet <remi@remirepo.net> - 2.9.0-1
- switch to Laminas
- boostrap build without laminas-session