summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2020-01-17 16:09:45 +0100
committerRemi Collet <remi@remirepo.net>2020-01-17 16:09:45 +0100
commit23c3a703ff151f160db87471b17502d09f420b89 (patch)
tree53aee9ae2afa297a02553dbee0f7a0cb814048f8
parent392d4b2b3a4ac75e50856821b2445d6d75fc3148 (diff)
cleanupHEADmaster
-rw-r--r--php-laminas-config.spec10
1 files changed, 8 insertions, 2 deletions
diff --git a/php-laminas-config.spec b/php-laminas-config.spec
index e60f397..121eae7 100644
--- a/php-laminas-config.spec
+++ b/php-laminas-config.spec
@@ -23,7 +23,7 @@
Name: php-%{gh_project}
Version: 2.6.0
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: %{namespace} Framework %{library} component
License: BSD
@@ -104,6 +104,9 @@ Requires: php-spl
Requires: php-xmlreader
Requires: php-xmlwriter
+# 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.0-99
Provides: php-zendframework-%{zf_name} = %{version}-99
@@ -176,7 +179,7 @@ EOF
: check compat autoloader
php -r '
require "%{buildroot}%{php_home}/Zend/%{library}/autoload.php";
-return (class_exists("\\Zend\\%{library}\\Config") ? 0 : 1);
+exit (class_exists("\\Zend\\%{library}\\Config") ? 0 : 1);
'
: upstream test suite
@@ -203,6 +206,9 @@ exit $ret
%changelog
+* Fri Jan 17 2020 Remi Collet <remi@remirepo.net> - 2.6.0-2
+- cleanup
+
* Thu Jan 9 2020 Remi Collet <remi@remirepo.net> - 2.6.0-1
- switch to Laminas