[packages/composer] Rel 2; fix missing libs

arekm arekm at pld-linux.org
Thu Apr 16 00:41:01 CEST 2026


commit 4aced616cba3a0e5298b8d3268f1075764f2f672
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Thu Apr 16 00:40:49 2026 +0200

    Rel 2; fix missing libs

 autoload.php  | 2 ++
 composer.spec | 4 +++-
 2 files changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/composer.spec b/composer.spec
index e248b7a..7eeb46f 100644
--- a/composer.spec
+++ b/composer.spec
@@ -11,7 +11,7 @@
 Summary:	Dependency Manager for PHP
 Name:		composer
 Version:	2.9.5
-Release:	1
+Release:	2
 License:	MIT
 Group:		Development/Languages/PHP
 Source0:	https://github.com/composer/composer/archive/%{version}/%{name}-%{version}.tar.gz
@@ -64,6 +64,8 @@ Requires:	php-symfony-Console >= 5.4.47
 Requires:	php-symfony-Filesystem >= 5.4.45
 Requires:	php-symfony-Finder >= 5.4.45
 Requires:	php-symfony-Process >= 5.4.47
+Requires:	php-symfony-ServiceContracts >= 2.5
+Requires:	php-symfony-String >= 5.4
 Requires:	unzip
 Suggests:	bash-completion-%{name}
 Suggests:	git-core
diff --git a/autoload.php b/autoload.php
index deb7547..910a8fc 100644
--- a/autoload.php
+++ b/autoload.php
@@ -26,6 +26,8 @@ $loader->setPsr4('Symfony\\Component\\Console\\', array($phpDir . 'Symfony/Compo
 $loader->setPsr4('Symfony\\Component\\Filesystem\\', array($phpDir . 'Symfony/Component/Filesystem'));
 $loader->setPsr4('Symfony\\Component\\Finder\\', array($phpDir . 'Symfony/Component/Finder'));
 $loader->setPsr4('Symfony\\Component\\Process\\', array($phpDir . 'Symfony/Component/Process'));
+$loader->setPsr4('Symfony\\Component\\String\\', array($phpDir . 'Symfony/Component/String'));
+$loader->setPsr4('Symfony\\Contracts\\Service\\', array($phpDir . 'Symfony/Contracts/Service'));
 $loader->setPsr4('Symfony\\Polyfill\\Php73\\', array($phpDir . 'Symfony/Polyfill/Php73'));
 $loader->setPsr4('Symfony\\Polyfill\\Php80\\', array($phpDir . 'Symfony/Polyfill/Php80'));
 $loader->setPsr4('Symfony\\Polyfill\\Php81\\', array($phpDir . 'Symfony/Polyfill/Php81'));
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/composer.git/commitdiff/4aced616cba3a0e5298b8d3268f1075764f2f672



More information about the pld-cvs-commit mailing list