summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-laminas-filter.spec10
1 files changed, 8 insertions, 2 deletions
diff --git a/php-laminas-filter.spec b/php-laminas-filter.spec
index b2a3179..d83e77f 100644
--- a/php-laminas-filter.spec
+++ b/php-laminas-filter.spec
@@ -19,7 +19,7 @@
Name: php-%{gh_project}
Version: 2.9.3
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: %{namespace} Framework %{library} component
License: BSD
@@ -114,6 +114,9 @@ Requires: php-openssl
Requires: php-pcre
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.9.3
Provides: php-zendframework-%{zf_name} = %{version}
@@ -188,7 +191,7 @@ rm test/Compress/SnappyTest.php
: check compat autoloader
php -r '
require "%{buildroot}%{php_home}/Zend/%{library}/autoload.php";
-return (class_exists("\\Zend\\%{library}\\ToInt") ? 0 : 1);
+exit (class_exists("\\Zend\\%{library}\\ToInt") ? 0 : 1);
'
: upstream test suite
@@ -216,6 +219,9 @@ exit $ret
%changelog
+* Fri Jan 17 2020 Remi Collet <remi@remirepo.net> - 2.7.1-2
+- cleanup
+
* Thu Jan 9 2020 Remi Collet <remi@remirepo.net> - 2.9.3-1
- switch to Laminas
- update to 2.9.3