summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2020-01-17 14:33:16 +0100
committerRemi Collet <remi@remirepo.net>2020-01-17 14:33:16 +0100
commit210751c8af15c0d4fe79cba4e24cfd0182e1b2bd (patch)
tree2a6260b49f2ec2e1eb49a6a835861927367e1f12
parenteb46464bcedf13e2a2137d77e426322997092bc4 (diff)
cleanup
-rw-r--r--php-laminas-eventmanager.spec10
1 files changed, 8 insertions, 2 deletions
diff --git a/php-laminas-eventmanager.spec b/php-laminas-eventmanager.spec
index 435bc46..6bb9578 100644
--- a/php-laminas-eventmanager.spec
+++ b/php-laminas-eventmanager.spec
@@ -23,7 +23,7 @@
Name: php-%{gh_project}
Version: 3.2.1
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Trigger and listen to events within a PHP application
License: BSD
@@ -93,6 +93,9 @@ Requires: php-spl
# Autoloader
Requires: php-composer(fedora/autoloader)
+# remirepo:2
+Obsoletes: php-ZendFramework2-%{library} < 2.5
+Provides: php-ZendFramework2-%{library} = %{version}
# Compatibily ensure by the bridge
Obsoletes: php-zendframework-%{zf_name} < 3.2.1-99
Provides: php-zendframework-%{zf_name} = %{version}-99
@@ -172,7 +175,7 @@ done
: check compat autoloader
php -r '
require "%{buildroot}%{php_home}/Zend/%{library}/autoload.php";
-return (class_exists("\\Zend\\%{library}\\%{library}") ? 0 : 1);
+exit (class_exists("\\Zend\\%{library}\\%{library}") ? 0 : 1);
'
exit $ret
@@ -192,6 +195,9 @@ exit $ret
%changelog
+* Fri Jan 17 2020 Remi Collet <remi@remirepo.net> - 3.2.1-2
+- cleanup
+
* Tue Jan 7 2020 Remi Collet <remi@remirepo.net> - 3.2.1-1
- switch to Laminas