summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2020-01-17 14:35:26 +0100
committerRemi Collet <remi@remirepo.net>2020-01-17 14:35:26 +0100
commit58ca8998004936e2196c35ebea28fd663eceedf7 (patch)
tree21246a028ec532496673af304549100cdc8657f2
parentb7442c0b9dc1e1afad1d1405c4afb4868a9940da (diff)
cleanup
-rw-r--r--php-laminas-crypt.spec10
1 files changed, 8 insertions, 2 deletions
diff --git a/php-laminas-crypt.spec b/php-laminas-crypt.spec
index c2aec92..d945b20 100644
--- a/php-laminas-crypt.spec
+++ b/php-laminas-crypt.spec
@@ -23,7 +23,7 @@
Name: php-%{gh_project}
Version: 3.3.1
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Laminas Framework %{library} component
License: BSD
@@ -98,6 +98,9 @@ Requires: php-hash
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} < 3.3.1-99
Provides: php-zendframework-%{zf_name} = %{version}-99
@@ -185,7 +188,7 @@ done
: check compat autoloader
php -r '
require "%{buildroot}%{php_home}/Zend/%{library}/autoload.php";
-return (class_exists("\\Zend\\%{library}\\Hash") ? 0 : 1);
+exit (class_exists("\\Zend\\%{library}\\Hash") ? 0 : 1);
'
exit $ret
@@ -204,6 +207,9 @@ exit $ret
%changelog
+* Fri Jan 17 2020 Remi Collet <remi@remirepo.net> - 3.3.1-2
+- cleanup
+
* Tue Jan 7 2020 Remi Collet <remi@remirepo.net> - 3.3.1-1
- switch to Laminas