From: Elan Ruusamäe Date: Tue, 5 Jan 2016 10:35:04 +0000 (+0200) Subject: add php-seld-cli-prompt autoload X-Git-Tag: auto/th/composer-1.0.0-16.alpha11.1 X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;h=b6a455ef201260f0050290f8428048b5db47f925;p=packages%2Fcomposer.git add php-seld-cli-prompt autoload used when (http) passwords are asked --- 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), 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