[packages/composer] up to 1.9.0

glen glen at pld-linux.org
Sun Aug 11 20:53:56 CEST 2019


commit ad4357c04546a95794127bfb27e78c5b2a12661d
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Sun Aug 11 19:19:03 2019 +0300

    up to 1.9.0

 autoload.patch | 18 +++++++++---------
 composer.spec  |  4 ++--
 2 files changed, 11 insertions(+), 11 deletions(-)
---
diff --git a/composer.spec b/composer.spec
index ca89663..b10795a 100644
--- a/composer.spec
+++ b/composer.spec
@@ -6,12 +6,12 @@
 %include	/usr/lib/rpm/macros.php
 Summary:	Dependency Manager for PHP
 Name:		composer
-Version:	1.8.4
+Version:	1.9.0
 Release:	1
 License:	MIT
 Group:		Development/Languages/PHP
 Source0:	https://github.com/composer/composer/archive/%{version}/%{name}-%{version}.tar.gz
-# Source0-md5:	0fb0249cc1047048c91fa1c7c6d706a4
+# Source0-md5:	83a9d56091891c1ac3a46126f8c34262
 Source2:	https://raw.githubusercontent.com/iArren/%{name}-bash-completion/86a8129/composer
 # Source2-md5:	cdeebf0a0da1fd07d0fd886d0461642e
 Source3:	autoload.php
diff --git a/autoload.patch b/autoload.patch
index a6e229e..b6474e4 100644
--- a/autoload.patch
+++ b/autoload.patch
@@ -13,17 +13,17 @@
  
  use Composer\Factory;
  use Composer\XdebugHandler;
---- composer-1.4.1/src/Composer/Json/JsonFile.php~	2017-03-10 10:29:45.000000000 +0200
-+++ composer-1.4.1/src/Composer/Json/JsonFile.php	2017-03-28 13:37:49.762829930 +0300
-@@ -156,7 +156,7 @@
-             self::validateSyntax($content, $this->path);
-         }
+--- composer-1.9.0/src/Composer/Json/JsonFile.php~	2019-08-02 21:55:33.000000000 +0300
++++ composer-1.9.0/src/Composer/Json/JsonFile.php	2019-08-11 19:59:58.343540127 +0300
+@@ -34,7 +34,7 @@
+     const JSON_PRETTY_PRINT = 128;
+     const JSON_UNESCAPED_UNICODE = 256;
  
--        $schemaFile = __DIR__ . '/../../../res/composer-schema.json';
-+        $schemaFile = __DIR__ . '/../res/composer-schema.json';
+-    const COMPOSER_SCHEMA_PATH = '/../../../res/composer-schema.json';
++    const COMPOSER_SCHEMA_PATH = '/../res/composer-schema.json';
  
-         // Prepend with file:// only when not using a special schema already (e.g. in the phar)
-         if (false === strpos($schemaFile, '://')) {
+     private $path;
+     private $rfs;
 --- composer-1.0.0-15.alpha11/src/Composer/Autoload/AutoloadGenerator.php~	2015-11-14 18:21:07.000000000 +0200
 +++ composer-1.0.0-15.alpha11/src/Composer/Autoload/AutoloadGenerator.php	2015-11-26 14:52:01.344498517 +0200
 @@ -275,7 +275,7 @@
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list