]> git.pld-linux.org Git - packages/satis.git/commitdiff
up to 6a8e47e, commit before php 5.5 bump
authorElan Ruusamäe <glen@delfi.ee>
Thu, 7 Apr 2016 18:07:38 +0000 (21:07 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Thu, 7 Apr 2016 18:11:05 +0000 (21:11 +0300)
the 5.5+ requirement seems bogus,
https://github.com/composer/satis/commit/1451d2c152cca2791eef3fb9a7ab3cb9e4e62e58

autoload.patch
satis.spec

index a65e2b0f482beafde147fa1b3b318a54b114e813..bc270ca6ca1526d566d47536cddf81f647e5f3de 100644 (file)
              $schema = json_decode(file_get_contents($schemaFile));
              $validator = new Validator();
              $validator->check($data, $schema);
---- satis-1.0.0-1.alpha1.152.g48191ff.0.5/src/Composer/Satis/Builder/WebBuilder.php~   2016-01-06 09:33:13.000000000 +0200
-+++ satis-1.0.0-1.alpha1.152.g48191ff.0.5/src/Composer/Satis/Builder/WebBuilder.php    2016-01-06 23:10:27.276318960 +0200
-@@ -35,7 +35,7 @@
-     {
-         $twigTemplate = isset($this->config['twig-template']) ? $this->config['twig-template'] : null;
--        $templateDir = $twigTemplate ? pathinfo($twigTemplate, PATHINFO_DIRNAME) : __DIR__.'/../../../../views';
-+        $templateDir = $twigTemplate ? pathinfo($twigTemplate, PATHINFO_DIRNAME) : __DIR__.'/../views';
-         $loader = new \Twig_Loader_Filesystem($templateDir);
-         $twig = new \Twig_Environment($loader);
+--- satis-1.0.0-1.alpha1.197.g6ddaf74.1/src/Composer/Satis/Builder/WebBuilder.php~     2016-04-05 18:16:09.000000000 +0300
++++ satis-1.0.0-1.alpha1.197.g6ddaf74.1/src/Composer/Satis/Builder/WebBuilder.php      2016-04-07 21:01:12.883296920 +0300
+@@ -103,7 +103,7 @@
+         if (null === $this->twig) {
+             $twigTemplate = isset($this->config['twig-template']) ? $this->config['twig-template'] : null;
  
+-            $templateDir = $twigTemplate ? pathinfo($twigTemplate, PATHINFO_DIRNAME) : __DIR__.'/../../../../views';
++            $templateDir = $twigTemplate ? pathinfo($twigTemplate, PATHINFO_DIRNAME) : __DIR__.'/../views';
+             $loader = new \Twig_Loader_Filesystem($templateDir);
+             $this->twig = new \Twig_Environment($loader);
+         }
index af5c7979d2c6de8c1b4c62bcf7594c5ab077946c..0efe3e6a5696ce73a4bbecfa2a131f4fd1c26287 100644 (file)
@@ -1,8 +1,8 @@
 
 %define                rel             1
-%define                githash 48191ff
+%define                githash 6a8e47e
 # $ git rev-list 1.0.0-alpha1..%{githash} --count
-%define                commits 152
+%define                commits 193
 %define                subver  alpha1
 %define                php_min_version 5.3.4
 %include       /usr/lib/rpm/macros.php
@@ -14,17 +14,14 @@ License:    MIT
 Group:         Development/Languages/PHP
 #Source0:      https://github.com/composer/satis/archive/%{version}-%{subver}/%{name}-%{version}%{subver}.tar.gz
 Source0:       https://github.com/composer/satis/archive/%{githash}/%{name}-%{version}-%{subver}-%{commits}-g%{githash}.tar.gz
-# Source0-md5: adee07882bc8c526b6bd3489812bc194
+# Source0-md5: ec71a1da6009bf5198a6a8c736c10aab
 Source1:       autoload.php
 Patch0:                autoload.patch
-Patch1:                https://github.com/composer/satis/pull/292.patch
-# Patch1-md5:  28bbf057c6771e7ddda8ce1be14d22e5
 URL:           https://github.com/composer/satis
-BuildRequires: composer
 BuildRequires: rpm-php-pearprov >= 4.4.2-11
 BuildRequires: rpmbuild(macros) >= 1.461
 BuildRequires: sed >= 4.0
-Requires:      composer >= 1.0.0-16.alpha11
+Requires:      composer >= 1.0.0-18
 Requires:      php(core) >= %{php_min_version}
 Requires:      php(hash)
 Requires:      php(json)
@@ -47,7 +44,6 @@ Repository file.
 %setup -qc -n %{name}-%{version}-%{release}
 mv %{name}-*/* .
 %patch0 -p1
-%patch1 -p1
 
 %{__sed} -i -e '1s,^#!.*env php,#!/usr/bin/php,' bin/*
 
This page took 0.175244 seconds and 4 git commands to generate.