From 4256e5774a0b61e7bcace39a3269a93bb24acaee Mon Sep 17 00:00:00 2001 From: T.C. Hollingsworth Date: Jul 30 2014 00:49:48 +0000 Subject: Revert "New upstream release 1.7.3" This update was not completed in Rawhide and therefore will not be pushed back to EPEL7 yet. This reverts commit e5d00458eec1251f5af4dadb158cd6e78712d57f. --- diff --git a/0001-Require-include-files-from-the-default-location.patch b/0001-Require-include-files-from-the-default-location.patch index d236bff..6f1ec0b 100644 --- a/0001-Require-include-files-from-the-default-location.patch +++ b/0001-Require-include-files-from-the-default-location.patch @@ -1,23 +1,17 @@ -From 6135de47cbfbbb9bcebe3df7a8b2418b9f0f36fa Mon Sep 17 00:00:00 2001 +From 18e3f3f3a1955e0159b4e8c6141518a6a3cd0975 Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Wed, 19 Dec 2012 09:06:24 -0500 -Subject: [PATCH 1/2] Require include files from the default location +Subject: [PATCH] Require include files from the default location --- - bin/lessc | 10 +++++----- - 1 file changed, 5 insertions(+), 5 deletions(-) + bin/lessc | 8 ++++---- + 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bin/lessc b/bin/lessc -index 809741d870030ae4f177788315e11d35885b60ae..4b2471bfc5d7048aee43d8364af0cc6770056605 100755 +index e5ee1a1c7431e683ef884affcbea46721237f914..658dbf14e2c0dab9067487d6528066fda5414d09 100755 --- a/bin/lessc +++ b/bin/lessc -@@ -1,12 +1,12 @@ - #!/usr/bin/env node - - var path = require('path'), -- fs = require('../lib/less/fs'), -+ fs = require('less/fs'), - sys = require('util'), +@@ -6,7 +6,7 @@ var path = require('path'), os = require('os'), mkdirp; @@ -26,7 +20,7 @@ index 809741d870030ae4f177788315e11d35885b60ae..4b2471bfc5d7048aee43d8364af0cc67 var args = process.argv.slice(1); var options = { depends: false, -@@ -97,7 +97,7 @@ args = args.filter(function (arg) { +@@ -96,7 +96,7 @@ args = args.filter(function (arg) { break; case 'h': case 'help': @@ -35,7 +29,7 @@ index 809741d870030ae4f177788315e11d35885b60ae..4b2471bfc5d7048aee43d8364af0cc67 continueProcessing = false; case 'x': case 'compress': -@@ -249,7 +249,7 @@ args = args.filter(function (arg) { +@@ -243,7 +243,7 @@ args = args.filter(function (arg) { } break; default: @@ -44,7 +38,7 @@ index 809741d870030ae4f177788315e11d35885b60ae..4b2471bfc5d7048aee43d8364af0cc67 continueProcessing = false; currentErrorcode = 1; break; -@@ -294,7 +294,7 @@ if (options.cleancss && options.sourceMap) { +@@ -288,7 +288,7 @@ if (options.cleancss && options.sourceMap) { if (! input) { console.log("lessc: no input files"); console.log(""); @@ -54,5 +48,5 @@ index 809741d870030ae4f177788315e11d35885b60ae..4b2471bfc5d7048aee43d8364af0cc67 return; } -- -1.9.3 +1.8.4.2 diff --git a/nodejs-less.spec b/nodejs-less.spec index 66154d6..c5e83b6 100644 --- a/nodejs-less.spec +++ b/nodejs-less.spec @@ -1,8 +1,8 @@ %{?nodejs_find_provides_and_requires} Name: nodejs-less -Version: 1.7.3 -Release: 1%{?dist} +Version: 1.7.0 +Release: 2%{?dist} Summary: Less.js The dynamic stylesheet language # cssmin.js is licensed under BSD license @@ -46,9 +46,7 @@ rm -f dist/*.js # Nothing to be built, we're just carrying around flat files %check -# Tests have a bug in them and will fail to find source-map, -# even if it is installed. -# node test +make %{?_smp_mflags} test %install @@ -70,32 +68,6 @@ ln -s %{nodejs_sitelib}/less/bin/lessc \ %changelog -* Mon Jun 23 2014 Stephen Gallagher 1.7.3-1 -- New upstream release 1.7.3 -- https://github.com/less/less.js/blob/v1.7.1/CHANGELOG.md -- Fix detection of recursive mixins -- Fix the paths option for later versions of node (0.10+) -- Fix paths joining bug -- Fix a number precision issue on some versions of node -- Fix an IE8 issue with importing css files -- Fix IE11 detection for xhr requests -- Modify var works if the last line of a less file is a comment. -- Better detection of valid hex colour codes -- Some stability fixes to support a low number of available file handles -- Support comparing values with different quote types e.g. - "test" now === 'test' -- Give better error messages if accessing a url that returns a non 200 status - code -- Fix the e() function when passed empty string -- Several minor bug fixes -- https://github.com/less/less.js/blob/v1.7.2/CHANGELOG.md -- Allow paths option to be a string (in 1.7.1 less started throwing an - exception instead of incorrectly processing the string as an array of chars) -- Do not round numbers when used with javascript (introduced 1.7.0) -- https://github.com/less/less.js/blob/v1.7.3/CHANGELOG.md -- Do not round the results of color functions, like lightness, hue, luma etc. -- Support cover and contain keywords in background definitions - * Sat Jun 07 2014 Fedora Release Engineering - 1.7.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild