summaryrefslogtreecommitdiffstats
path: root/php-laminas-serializer.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2020-01-17 14:32:44 +0100
committerRemi Collet <remi@remirepo.net>2020-01-17 14:32:44 +0100
commit68b9992d537b3a945001abbd688e3da343479ec4 (patch)
tree1b5c663797020a5fb8a774329668a52606d6c7d9 /php-laminas-serializer.spec
parentc68b4d124edb1e55000a1773a5f2ab62ac7b8447 (diff)
cleanup
Diffstat (limited to 'php-laminas-serializer.spec')
-rw-r--r--php-laminas-serializer.spec10
1 files changed, 8 insertions, 2 deletions
diff --git a/php-laminas-serializer.spec b/php-laminas-serializer.spec
index 9247820..6c3135d 100644
--- a/php-laminas-serializer.spec
+++ b/php-laminas-serializer.spec
@@ -23,7 +23,7 @@
Name: php-%{gh_project}
Version: 2.9.1
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Laminas Framework %{library} component
License: BSD
@@ -100,6 +100,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} < 2.9.1-99
Provides: php-zendframework-%{zf_name} = %{version}-99
@@ -175,7 +178,7 @@ done
: check compat autoloader
php -r '
require "%{buildroot}%{php_home}/Zend/%{library}/autoload.php";
-return (class_exists("\\Zend\\%{library}\\%{library}") ? 0 : 1);
+exit (class_exists("\\Zend\\%{library}\\%{library}") ? 0 : 1);
'
exit $ret
@@ -195,6 +198,9 @@ exit $ret
%changelog
+* Fri Jan 17 2020 Remi Collet <remi@remirepo.net> - 2.9.1-2
+- cleanup
+
* Tue Jan 7 2020 Remi Collet <remi@remirepo.net> - 2.9.1-1
- switch to Laminas