[packages/php-yui-css-compressor] fix typo

glen glen at pld-linux.org
Mon Jul 17 11:20:46 CEST 2017


commit d1241e88acb048fc4e5747dc4c2d83014bb80483
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Mon Jul 17 12:19:37 2017 +0300

    fix typo
    
    PHP Parse error:  syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /usr/share/php/cssmin/cssmin.php on line 706

 abspath.patch               | 2 +-
 php-yui-css-compressor.spec | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/php-yui-css-compressor.spec b/php-yui-css-compressor.spec
index f114d96..4b313aa 100644
--- a/php-yui-css-compressor.spec
+++ b/php-yui-css-compressor.spec
@@ -7,7 +7,7 @@
 Summary:	A PHP port of the YUI CSS compressor
 Name:		php-yui-css-compressor
 Version:	%{ver}.%{subver}
-Release:	3
+Release:	4
 License:	BSD
 Group:		Development/Languages/PHP
 Source0:	https://github.com/tubalmartin/YUI-CSS-compressor-PHP-port/archive/v%{ver}-p%{subver}/%{name}-%{version}.tar.gz
diff --git a/abspath.patch b/abspath.patch
index d2d8bbf..639efb6 100644
--- a/abspath.patch
+++ b/abspath.patch
@@ -5,7 +5,7 @@
          $patterns = array();
          $replacements = array();
 -        $longNamedColors = include 'data/named-to-hex-color-map.php';
-+        $longNamedColors = include __DIR__ '/data/named-to-hex-color-map.php';
++        $longNamedColors = include __DIR__ . '/data/named-to-hex-color-map.php';
          $propertiesWithColors = array(
              'color',
              'background(?:-color)?',
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/php-yui-css-compressor.git/commitdiff/d1241e88acb048fc4e5747dc4c2d83014bb80483



More information about the pld-cvs-commit mailing list