summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-laminas-di3.spec13
1 files changed, 7 insertions, 6 deletions
diff --git a/php-laminas-di3.spec b/php-laminas-di3.spec
index de454f3..8656153 100644
--- a/php-laminas-di3.spec
+++ b/php-laminas-di3.spec
@@ -23,7 +23,7 @@
Name: php-%{gh_project}%{major}
Version: 3.7.0
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Laminas Framework %{library} component v%{major}
License: BSD
@@ -51,16 +51,14 @@ BuildRequires: (php-composer(psr/log) >= 1.1.
# "phpstan/phpstan": "^0.12",
# "phpspec/prophecy-phpunit": "^2.0",
# "phpunit/phpunit": "^9.5.5"
-BuildRequires: (php-composer(container-interop/container-interop) >= 1.2 with php-composer(container-interop/container-interop) < 2)
-BuildRequires: (php-autoloader(%{gh_owner}/laminas-servicemanager) >= 3.7 with php-autoloader(%{gh_owner}/laminas-servicemanager) < 4)
+BuildRequires: (php-autoloader(%{gh_owner}/laminas-servicemanager) >= 3.12 with php-autoloader(%{gh_owner}/laminas-servicemanager) < 4)
BuildRequires: (php-composer(mikey179/vfsstream) >= 1.6.10 with php-composer(mikey179/vfsstream) < 2)
BuildRequires: (php-composer(phpspec/prophecy-phpunit) >= 2.0 with php-composer(phpspec/prophecy-phpunit) < 3)
-# remirepo:9
+# remirepo:8
%else
BuildRequires: php-laminas-stdlib >= 3.6
BuildRequires: php-psr-container >= 1.1.1
BuildRequires: php-PsrLog >= 1.1.4
-BuildRequires: php-container-interop >= 1.2
BuildRequires: php-laminas-servicemanager >= 3.7
BuildRequires: php-mikey179-vfsstream >= 1.6.7
BuildRequires: php-phpspec-prophecy-phpunit >= 2.0
@@ -151,7 +149,6 @@ cat << 'EOF' | tee vendor/autoload.php
require_once '%{buildroot}%{php_home}/%{namespace}/%{library}%{major}/autoload.php';
\Fedora\Autoloader\Autoload::addPsr4('%{namespace}Test\\%{library}\\', dirname(__DIR__) . '/test');
\Fedora\Autoloader\Dependencies::required([
- '%{php_home}/Interop/Container/autoload.php',
'%{php_home}/org/bovigo/vfs/autoload.php',
'%{php_home}/Prophecy/PhpUnit/autoload.php',
]);
@@ -182,6 +179,10 @@ exit $ret
%changelog
+* Thu Jun 23 2022 Remi Collet <remi@remirepo.net> - 3.7.0-2
+- drop dependency on container-interop/container-interop
+ replaced by servicemanager >= 3.12
+
* Mon May 16 2022 Remi Collet <remi@remirepo.net> - 3.7.0-1
- update to 3.7.0