summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-laminas-dom.spec16
1 files changed, 11 insertions, 5 deletions
diff --git a/php-laminas-dom.spec b/php-laminas-dom.spec
index a1fb533..f0c9e09 100644
--- a/php-laminas-dom.spec
+++ b/php-laminas-dom.spec
@@ -23,7 +23,7 @@
Name: php-%{gh_project}
Version: 2.7.2
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Laminas Framework %{library} component
License: BSD
@@ -74,13 +74,16 @@ 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.7.2-99
Provides: php-zendframework-%{zf_name} = %{version}-99
-Provides: php-composer(%{gh_owner}/%{gh_project}) = %{version}
-Provides: php-composer(zendframework/%{zf_name}) = %{version}
+Provides: php-composer(%{gh_owner}/%{gh_project}) = %{version}
+Provides: php-composer(zendframework/%{zf_name}) = %{version}
Provides: php-autoloader(%{gh_owner}/%{gh_project}) = %{version}
-Provides: php-autoloader(zendframework/%{zf_name}) = %{version}
+Provides: php-autoloader(zendframework/%{zf_name}) = %{version}
%description
@@ -142,7 +145,7 @@ done
: check compat autoloader
php -r '
require "%{buildroot}%{php_home}/Zend/%{library}/autoload.php";
-return (class_exists("\\Zend\\%{library}\\Query") ? 0 : 1);
+exit (class_exists("\\Zend\\%{library}\\Query") ? 0 : 1);
'
exit $ret
@@ -161,6 +164,9 @@ exit $ret
%changelog
+* Fri Jan 17 2020 Remi Collet <remi@remirepo.net> - 2.7.2-2
+- cleanup
+
* Wed Jan 8 2020 Remi Collet <remi@remirepo.net> - 2.7.2-1
- switch to Laminas