[packages/composer] Requires cli for online test

glen glen at pld-linux.org
Mon Nov 21 12:31:29 CET 2022


commit 474cd444969d1dccc53743c72202a3b8ab5eb952
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Mon Nov 21 13:31:21 2022 +0200

    Requires cli for online test

 composer.spec | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/composer.spec b/composer.spec
index 15378f3..a3b4bb6 100644
--- a/composer.spec
+++ b/composer.spec
@@ -29,6 +29,7 @@ BuildRequires:	rpmbuild(macros) >= 1.673
 # instead of filling duplicate deps for running tests,
 # update composer version that have neccessary runtime dependencies
 BuildRequires:	composer >= 1.7.0
+%{?with_online:BuildRequires:	%{php_name}-cli}
 %if %{with tests}
 BuildRequires:	git-core
 BuildRequires:	phpab
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/composer.git/commitdiff/474cd444969d1dccc53743c72202a3b8ab5eb952



More information about the pld-cvs-commit mailing list