summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2020-01-17 15:36:06 +0100
committerRemi Collet <remi@remirepo.net>2020-01-17 15:36:06 +0100
commitc499aea410839bb67cf585a68e96132ceed0f9c7 (patch)
treefef5162e51c89b923b98959ce6931a645240d4a0
parentcb47b5e58bb8cff299c0dd8047cd8e5e8954ab33 (diff)
cleanup
-rw-r--r--php-laminas-memory.spec12
1 files changed, 9 insertions, 3 deletions
diff --git a/php-laminas-memory.spec b/php-laminas-memory.spec
index 066a475..3c46fc9 100644
--- a/php-laminas-memory.spec
+++ b/php-laminas-memory.spec
@@ -23,7 +23,7 @@
Name: php-%{gh_project}
Version: 2.6.1
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: %{namespace} Framework %{library} component
License: BSD
@@ -67,7 +67,7 @@ Requires: (php-autoloader(%{gh_owner}/laminas-zendframework-bridge) >= 1.0
# "laminas/laminas-cache": "To support swapping memory objects into and out of non-memory cache storage"
Suggests: php-autoloader(%{gh_owner}/laminas-cache)
%endif
-# remirepo:8
+# remirepo:3
%else
Requires: php-laminas-zendframework-bridge
%endif
@@ -76,6 +76,9 @@ Requires: php-composer(fedora/autoloader)
# From phpcompatinfo report for version 2.6.1
Requires: php-spl
+# 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
@@ -148,7 +151,7 @@ EOF
: check compat autoloader
php -r '
require "%{buildroot}%{php_home}/Zend/%{library}/autoload.php";
-return (class_exists("\\Zend\\%{library}\\Value") ? 0 : 1);
+exit (class_exists("\\Zend\\%{library}\\Value") ? 0 : 1);
'
: upstream test suite
@@ -176,6 +179,9 @@ exit $ret
%changelog
+* Fri Jan 17 2020 Remi Collet <remi@remirepo.net> - 2.6.1-2
+- cleanup
+
* Thu Jan 9 2020 Remi Collet <remi@remirepo.net> - 2.6.1-1
- switch to Laminas