summaryrefslogtreecommitdiffstats
path: root/php-laminas-math.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2020-01-17 14:33:42 +0100
committerRemi Collet <remi@remirepo.net>2020-01-17 14:33:42 +0100
commit15129940d661ff889ea970ae9b7732e9a58fe703 (patch)
tree7e88da1d8856d9d8809a503bfcea05643a70977d /php-laminas-math.spec
parent28a54778d45b008a2172b21aa281449c911e3176 (diff)
cleanup
Diffstat (limited to 'php-laminas-math.spec')
-rw-r--r--php-laminas-math.spec10
1 files changed, 8 insertions, 2 deletions
diff --git a/php-laminas-math.spec b/php-laminas-math.spec
index e31dc7d..43037d9 100644
--- a/php-laminas-math.spec
+++ b/php-laminas-math.spec
@@ -23,7 +23,7 @@
Name: php-%{gh_project}
Version: 3.2.0
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Laminas Framework %{library} component
License: BSD
@@ -91,6 +91,9 @@ Requires: php-gmp
Requires: php-composer(fedora/autoloader)
%endif
+# 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.0-99
Provides: php-zendframework-%{zf_name} = %{version}-99
@@ -167,7 +170,7 @@ done
: check compat autoloader
php -r '
require "%{buildroot}%{php_home}/Zend/%{library}/autoload.php";
-return (class_exists("\\Zend\\%{library}\\Rand") ? 0 : 1);
+exit (class_exists("\\Zend\\%{library}\\Rand") ? 0 : 1);
'
exit $ret
@@ -186,6 +189,9 @@ exit $ret
%changelog
+* Fri Jan 17 2020 Remi Collet <remi@remirepo.net> - 3.2.0-2
+- cleanup
+
* Mon Jan 6 2020 Remi Collet <remi@remirepo.net> - 3.2.0-1
- switch to Laminas
- add patch to fix test suite from