summaryrefslogtreecommitdiffstats
path: root/php-laminas-mail.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2020-01-17 16:11:49 +0100
committerRemi Collet <remi@remirepo.net>2020-01-17 16:11:49 +0100
commit2e79384309d52865069da24b6261794f5caff80e (patch)
treec84c74b9809a724dbf2f49e782dc9076b7059b2e /php-laminas-mail.spec
parent9c5184c6dae9e8df20e1cbd334a0f6af6089a44d (diff)
cleanup
Diffstat (limited to 'php-laminas-mail.spec')
-rw-r--r--php-laminas-mail.spec10
1 files changed, 8 insertions, 2 deletions
diff --git a/php-laminas-mail.spec b/php-laminas-mail.spec
index ee0f04e..80fe19f 100644
--- a/php-laminas-mail.spec
+++ b/php-laminas-mail.spec
@@ -23,7 +23,7 @@
Name: php-%{gh_project}
Version: 2.10.0
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: %{namespace} Framework %{library} component
License: BSD
@@ -120,6 +120,9 @@ Requires: php-date
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.10.0-99
Provides: php-zendframework-%{zf_name} = %{version}-99
@@ -198,7 +201,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}\\Message") ? 0 : 1);
'
: upstream test suite
@@ -227,6 +230,9 @@ exit $ret
%changelog
+* Fri Jan 17 2020 Remi Collet <remi@remirepo.net> - 2.10.0-2
+- cleanup
+
* Thu Jan 9 2020 Remi Collet <remi@remirepo.net> - 2.10.0-1
- switch to Laminas