From d1241e88acb048fc4e5747dc4c2d83014bb80483 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Mon, 17 Jul 2017 12:19:37 +0300 Subject: [PATCH] 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/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 -- 2.43.0