summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2020-01-17 16:10:44 +0100
committerRemi Collet <remi@remirepo.net>2020-01-17 16:10:44 +0100
commitdc3882fc7c3e6d5a41579916814f4111feea3f1a (patch)
tree85858cb3a736cae4cc00e43e41540c668343b492
parentaf648754feb4c84b803282fe22d342c4b788dddd (diff)
cleanup
-rw-r--r--php-laminas-mime.spec10
1 files changed, 8 insertions, 2 deletions
diff --git a/php-laminas-mime.spec b/php-laminas-mime.spec
index 1865785..3c3ca1a 100644
--- a/php-laminas-mime.spec
+++ b/php-laminas-mime.spec
@@ -20,7 +20,7 @@
Name: php-%{gh_project}
Version: 2.7.2
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: %{namespace} Framework %{library} component
License: BSD
@@ -84,6 +84,9 @@ Requires: php-iconv
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.7.2-99
Provides: php-zendframework-%{zf_name} = %{version}-99
@@ -151,7 +154,7 @@ EOF
: check compat autoloader
php -r '
require "%{buildroot}%{php_home}/Zend/%{library}/autoload.php";
-return (class_exists("\\Zend\\%{library}\\Mime") ? 0 : 1);
+exit (class_exists("\\Zend\\%{library}\\Mime") ? 0 : 1);
'
%if %{bootstrap}
@@ -188,6 +191,9 @@ exit $ret
%changelog
+* Fri Jan 17 2020 Remi Collet <remi@remirepo.net> - 2.7.2-2
+- cleanup
+
* Thu Jan 9 2020 Remi Collet <remi@remirepo.net> - 2.7.2-1
- switch to Laminas
- bootstrap build without mail