summaryrefslogtreecommitdiffstats
path: root/php-laminas-loader.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2020-01-17 15:18:16 +0100
committerRemi Collet <remi@remirepo.net>2020-01-17 15:18:16 +0100
commit434f5b331e29396cf237bcb23e9b115b3d8ea48f (patch)
tree3f677c36ed35c0f0b3be37b0c91dc42c45076dcc /php-laminas-loader.spec
parent706593d00d61e8a3866a284d7ce1c6e8f5e034c9 (diff)
cleanup
Diffstat (limited to 'php-laminas-loader.spec')
-rw-r--r--php-laminas-loader.spec10
1 files changed, 8 insertions, 2 deletions
diff --git a/php-laminas-loader.spec b/php-laminas-loader.spec
index e930948..9a780c7 100644
--- a/php-laminas-loader.spec
+++ b/php-laminas-loader.spec
@@ -18,7 +18,7 @@
Name: php-%{gh_project}
Version: 2.6.1
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Laminas Framework %{library} component
License: BSD
@@ -63,6 +63,9 @@ Requires: php-composer(fedora/autoloader)
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
@@ -129,7 +132,7 @@ done
: check compat autoloader
php -r '
require "%{buildroot}%{php_home}/Zend/%{library}/autoload.php";
-return (class_exists("\\Zend\\%{library}\\PluginClassLoader") ? 0 : 1);
+exit (class_exists("\\Zend\\%{library}\\PluginClassLoader") ? 0 : 1);
'
exit $ret
@@ -149,6 +152,9 @@ exit $ret
%changelog
+* Fri Jan 17 2020 Remi Collet <remi@remirepo.net> - 2.6.1-2
+- cleanup
+
* Wed Jan 8 2020 Remi Collet <remi@remirepo.net> - 2.6.1-1
- switch to Laminas