summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2020-01-17 15:18:30 +0100
committerRemi Collet <remi@remirepo.net>2020-01-17 15:18:30 +0100
commit6f18be24001edfc20c68a8746e033cd467041c44 (patch)
tree1dc87e0729d9ea81754e22d4b612f452ae650067
parent4e91cdc9c76634ee6e1ecf50dfe274926d035533 (diff)
cleanup
-rw-r--r--php-laminas-xml.spec10
1 files changed, 8 insertions, 2 deletions
diff --git a/php-laminas-xml.spec b/php-laminas-xml.spec
index 599ea6f..6cea6d6 100644
--- a/php-laminas-xml.spec
+++ b/php-laminas-xml.spec
@@ -23,7 +23,7 @@
Name: php-%{gh_project}
Version: 1.2.0
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Laminas Framework %{library} component
License: BSD
@@ -75,6 +75,9 @@ Requires: php-spl
# Autoloader
Requires: php-composer(fedora/autoloader)
+# remirepo:2
+Obsoletes: php-ZendFramework2-%{library} < 2.5
+Provides: php-ZendFramework2-%{library} = 1:%{version}
# Compatibily ensure by the bridge
Obsoletes: php-zendframework-%{zf_name} < 1.2.0-99
Provides: php-zendframework-%{zf_name} = %{version}-99
@@ -139,7 +142,7 @@ done
: check compat autoloader
php -r '
require "%{buildroot}%{php_home}/Zend%{library}/autoload.php";
-return (class_exists("\\Zend%{library}\\Security") ? 0 : 1);
+exit (class_exists("\\Zend%{library}\\Security") ? 0 : 1);
'
exit $ret
@@ -158,6 +161,9 @@ exit $ret
%changelog
+* Fri Jan 17 2020 Remi Collet <remi@remirepo.net> - 1.2.0-2
+- cleanup
+
* Wed Jan 8 2020 Remi Collet <remi@remirepo.net> - 1.2.0-1
- switch to Laminas