summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2015-10-06 16:45:07 +0200
committerRemi Collet <fedora@famillecollet.com>2015-10-06 16:45:07 +0200
commitcdfb818291ec77285efaf7021d78bbacac96720d (patch)
tree6e1ca3155a69fd9195702b9ade55d9ec9c4204f0
parent7f17dd02c2ec7908480997df97f25bda19c6c07a (diff)
composer: disable version check
-rw-r--r--composer-rpm.patch12
-rw-r--r--composer.spec5
2 files changed, 16 insertions, 1 deletions
diff --git a/composer-rpm.patch b/composer-rpm.patch
index b6775b7..98f0434 100644
--- a/composer-rpm.patch
+++ b/composer-rpm.patch
@@ -34,3 +34,15 @@ diff -up ./src/Composer/Json/JsonFile.php.rpm ./src/Composer/Json/JsonFile.php
$schemaData = json_decode(file_get_contents($schemaFile));
if ($schema === self::LAX_SCHEMA) {
+diff -up ./src/Composer/Command/DiagnoseCommand.php.rpm ./src/Composer/Command/DiagnoseCommand.php
+--- ./src/Composer/Command/DiagnoseCommand.php.rpm 2015-10-06 16:40:52.931166384 +0200
++++ ./src/Composer/Command/DiagnoseCommand.php 2015-10-06 16:40:57.692191142 +0200
+@@ -133,7 +133,7 @@ EOT
+ $this->outputResult($this->checkDiskSpace($config));
+
+ $io->write('Checking composer version: ', false);
+- $this->outputResult($this->checkVersion());
++ $io->write('<info>RPM</info>');
+
+ return $this->failures;
+ }
diff --git a/composer.spec b/composer.spec
index 808558a..1ae7c6b 100644
--- a/composer.spec
+++ b/composer.spec
@@ -16,7 +16,7 @@
Name: composer
Version: 1.0.0
-Release: 0.11.%{gh_date}git%{gh_short}%{?dist}
+Release: 0.12.%{gh_date}git%{gh_short}%{?dist}
Summary: Dependency Manager for PHP
Group: Development/Libraries
@@ -182,6 +182,9 @@ rm -rf %{buildroot}
%changelog
+* Tue Oct 6 2015 Remi Collet <remi@fedoraproject.org> - 1.0.0-0.12.20151004gitfcce52b
+- don't check version in diagnose command (display RPM)
+
* Sun Oct 4 2015 Remi Collet <remi@fedoraproject.org> - 1.0.0-0.11.20151004gitfcce52b
- new snapshot
- add dependency on composer/semver