summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2020-01-17 14:33:56 +0100
committerRemi Collet <remi@remirepo.net>2020-01-17 14:33:56 +0100
commit45b0b05b2eca4578a635cd7ac98574d5cdfc52fe (patch)
tree33b798cd6cf92a2efb783eba36d05838ca36c12d
parente2e00bab100d56aecfe95d32ed55f390b466e120 (diff)
cleanup
-rw-r--r--php-laminas-stdlib.spec12
1 files changed, 9 insertions, 3 deletions
diff --git a/php-laminas-stdlib.spec b/php-laminas-stdlib.spec
index 21d8cd0..de0aac4 100644
--- a/php-laminas-stdlib.spec
+++ b/php-laminas-stdlib.spec
@@ -23,7 +23,7 @@
Name: php-%{gh_project}
Version: 3.2.1
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: Laminas Framework %{library} component
License: BSD
@@ -79,6 +79,9 @@ Requires: php-spl
# Autoloader
Requires: php-composer(fedora/autoloader)
+# 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.1-99
Provides: php-zendframework-%{zf_name} = %{version}-99
@@ -89,7 +92,7 @@ Provides: php-autoloader(zendframework/%{zf_name}) = %{version}
%description
-%{namespace}\%{library} is a set of components that implements general purpose utility
+%{gh_project} is a set of components that implements general purpose utility
class for different scopes like:
* array utilities functions;
* general messaging systems;
@@ -149,7 +152,7 @@ done
: check compat autoloader
php -r '
require "%{buildroot}%{php_home}/Zend/%{library}/autoload.php";
-return (class_exists("\\Zend\\Stdlib\\ConsoleHelper") ? 0 : 1);
+exit (class_exists("\\Zend\\Stdlib\\ConsoleHelper") ? 0 : 1);
'
exit $ret
@@ -169,6 +172,9 @@ exit $ret
%changelog
+* Fri Jan 17 2020 Remi Collet <remi@remirepo.net> - 3.2.1-3
+- cleanup
+
* Mon Jan 6 2020 Remi Collet <remi@remirepo.net> - 3.2.1-2
- switch to Laminas