From: Elan Ruusamäe Date: Mon, 17 Jul 2017 09:19:37 +0000 (+0300) Subject: fix typo X-Git-Tag: auto/th/php-yui-css-compressor-2.4.8.10-4 X-Git-Url: http://git.pld-linux.org/gitweb.cgi?p=packages%2Fphp-yui-css-compressor.git;a=commitdiff_plain;h=d1241e88acb048fc4e5747dc4c2d83014bb80483 fix typo PHP Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /usr/share/php/cssmin/cssmin.php on line 706 --- 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)?', 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