summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2020-01-17 15:33:47 +0100
committerRemi Collet <remi@remirepo.net>2020-01-17 15:33:47 +0100
commit5b8131d962a59912b45b6d4ae1931c48d3de8391 (patch)
treee91f097c0b2f0912435983f3d2ad43747f317218
parente1a48058a9d0fa69aee2eb1317f2bca7be4d0c3b (diff)
cleanup
-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