[packages/composer] add php-seld-cli-prompt autoload
glen
glen at pld-linux.org
Tue Jan 5 11:35:42 CET 2016
commit b6a455ef201260f0050290f8428048b5db47f925
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Tue Jan 5 12:35:04 2016 +0200
add php-seld-cli-prompt autoload
used when (http) passwords are asked
autoload.php | 3 ++-
composer.spec | 5 +++--
2 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/composer.spec b/composer.spec
index d7a181f..df06085 100644
--- a/composer.spec
+++ b/composer.spec
@@ -5,7 +5,7 @@
# NOTE
# - release tarballs: http://getcomposer.org/download/
-%define rel 15
+%define rel 1
#define githash 5744981
# $ git rev-list 1.0.0-alpha11..%{githash} --count
#define commits 216
@@ -15,7 +15,7 @@
Summary: Dependency Manager for PHP
Name: composer
Version: 1.0.0
-Release: %{rel}.%{subver}%{?commits:.%{commits}}%{?githash:.g%{githash}}
+Release: 16.%{subver}%{?commits:.%{commits}}%{?githash:.g%{githash}}.%{rel}
License: MIT
Group: Development/Languages/PHP
#Source0: https://github.com/composer/composer/archive/%{githash}/%{name}-%{version}-%{subver}-%{commits}-g%{githash}.tar.gz
@@ -54,6 +54,7 @@ Requires: php(zlib)
Requires: php-composer-semver >= 1.0.0
Requires: php-composer-spdx-licenses >= 1.0.0
Requires: php-justinrainbow-json-schema >= 1.4
+Requires: php-seld-cli-prompt >= 1.0.0
Requires: php-seld-jsonlint >= 1.1.2
Requires: php-seld-phar-utils >= 1.0.0
Requires: php-symfony2-ClassLoader >= 2.7.7
diff --git a/autoload.php b/autoload.php
index f86f15a..bb04952 100644
--- a/autoload.php
+++ b/autoload.php
@@ -15,12 +15,13 @@ $baseDir = dirname(__DIR__);
$loader->addPrefixes(array(
'Composer\\' => $baseDir,
- // Dependencies
+ // Dependencies
'Composer\\Semver\\' => array($phpDir),
'Composer\\Spdx\\' => array($phpDir),
'JsonSchema' => array($phpDir),
'Seld\\JsonLint' => array($phpDir),
'Seld\\PharUtils\\' => array($phpDir),
+ 'Seld\\CliPrompt\\' => array($phpDir),
'Symfony\\Component\\Console\\' => array($phpDir),
'Symfony\\Component\\Finder' => array($phpDir),
'Symfony\\Component\\Process\\' => array($phpDir),
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/composer.git/commitdiff/b6a455ef201260f0050290f8428048b5db47f925
More information about the pld-cvs-commit
mailing list