summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2020-01-17 16:12:43 +0100
committerRemi Collet <remi@remirepo.net>2020-01-17 16:12:43 +0100
commit91c27b0e53496ea279d1d4c7aff15ea4bc0c4821 (patch)
treec243beb62de0e3feb8a857c8590c4b6dabce551f
parent6747f80bf74287ad12a80e5e118b6c49a51c8f91 (diff)
cleanupHEADmaster
-rw-r--r--php-laminas-console.spec10
1 files changed, 8 insertions, 2 deletions
diff --git a/php-laminas-console.spec b/php-laminas-console.spec
index 857b576..b89cd17 100644
--- a/php-laminas-console.spec
+++ b/php-laminas-console.spec
@@ -23,7 +23,7 @@
Name: php-%{gh_project}
Version: 2.8.0
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: %{namespace} Framework %{library} component
License: BSD
@@ -98,6 +98,9 @@ Requires: php-reflection
Requires: php-spl
Requires: php-xml
+# remirepo:2
+Obsoletes: php-ZendFramework2-%{library} < 2.5
+Provides: php-ZendFramework2-%{library} = %{version}
# Compatibily ensure by the bridge
Obsoletes: php-zendframework-%{zf_name} < 2.8.0-99
Provides: php-zendframework-%{zf_name} = %{version}-99
@@ -167,7 +170,7 @@ EOF
: check compat autoloader
php -r '
require "%{buildroot}%{php_home}/Zend/%{library}/autoload.php";
-return (class_exists("\\Zend\\%{library}\\Message") ? 0 : 1);
+exit (class_exists("\\Zend\\%{library}\\Console") ? 0 : 1);
'
: upstream test suite
@@ -194,6 +197,9 @@ exit $ret
%changelog
+* Fri Jan 17 2020 Remi Collet <remi@remirepo.net> - 2.8.0-2
+- cleanup
+
* Fri Jan 10 2020 Remi Collet <remi@remirepo.net> - 2.8.0-1
- switch to Laminas