summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2020-01-17 14:36:14 +0100
committerRemi Collet <remi@remirepo.net>2020-01-17 14:36:14 +0100
commita1e14e1276d4451a4f631dd26b0c9108b300170d (patch)
treed5ceb8049e87f86c1dbd4fa2f3bbc528a9333d0b
parent7c69d0d0618d8286432b12a154f017547da0299d (diff)
cleanup
-rw-r--r--php-laminas-di.spec10
1 files changed, 8 insertions, 2 deletions
diff --git a/php-laminas-di.spec b/php-laminas-di.spec
index cedf78e..dfc6f1e 100644
--- a/php-laminas-di.spec
+++ b/php-laminas-di.spec
@@ -23,7 +23,7 @@
Name: php-%{gh_project}
Version: 2.6.1
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Laminas Framework %{library} component
License: BSD
@@ -90,6 +90,9 @@ Requires: php-reflection
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.6.1-99
Provides: php-zendframework-%{zf_name} = %{version}-99
@@ -164,7 +167,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
@@ -184,6 +187,9 @@ exit $ret
%changelog
+* Fri Jan 17 2020 Remi Collet <remi@remirepo.net> - 2.6.1-2
+- cleanup
+
* Tue Jan 7 2020 Remi Collet <remi@remirepo.net> - 2.6.1-1
- switch to Laminas