[packages/php-container-interop] Up to 1.2.0

arekm arekm at pld-linux.org
Fri Nov 27 21:58:54 CET 2026


commit 263dc8939a0766b3b9c27e489a1ff0bfc7c6cadd
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Fri Nov 27 15:53:19 2026 +0100

    Up to 1.2.0

 autoload.php               | 1 +
 php-container-interop.spec | 7 ++++---
 2 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/php-container-interop.spec b/php-container-interop.spec
index c098798..a2cd92c 100644
--- a/php-container-interop.spec
+++ b/php-container-interop.spec
@@ -2,15 +2,16 @@
 %define		php_min_version 5.3.0
 Summary:	Promoting the interoperability of container objects (DIC, SL, etc.)
 Name:		php-%{pkgname}
-Version:	1.1.0
-Release:	4
+Version:	1.2.0
+Release:	1
 License:	MIT
 Group:		Development/Languages/PHP
 Source0:	https://github.com/container-interop/container-interop/archive/%{version}/%{name}-%{version}.tar.gz
-# Source0-md5:	53c1d92cbfdf5e1ede5d173a41ea4b19
+# Source0-md5:	190bfe198b9ba9257d88e1490ce1399f
 Source1:	autoload.php
 URL:		https://github.com/container-interop/container-interop
 Requires:	php(core) >= %{php_min_version}
+Requires:	php-psr-container
 Requires:	php-symfony2-ClassLoader >= 2.7.7
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
diff --git a/autoload.php b/autoload.php
index 477ee4f..443ab4c 100644
--- a/autoload.php
+++ b/autoload.php
@@ -14,6 +14,7 @@ if (!isset($loader) || !($loader instanceof \Symfony\Component\ClassLoader\Class
     $loader->register();
 }
 
+$loader->addPrefix('Psr\\Container\\', dirname(dirname(__DIR__)));
 $loader->addPrefix('Interop\\Container\\', dirname(dirname(__DIR__)));
 
 return $loader;
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/php-container-interop.git/commitdiff/263dc8939a0766b3b9c27e489a1ff0bfc7c6cadd



More information about the pld-cvs-commit mailing list