[packages/lessphp] up to 0.3.8
glen
glen at pld-linux.org
Thu Oct 4 06:06:41 CEST 2012
commit 00a90112b2c4a63a847d97d037c2e1645736e044
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Thu Oct 4 07:01:32 2012 +0300
up to 0.3.8
enhanced performance, new PHP interface, and bug
fixes. [Changelog](http://leafo.net/lessphp/changelog.html)
August 18th 2012
fixes.patch | 26 +++++++++-----------------
lessphp.spec | 4 ++--
2 files changed, 11 insertions(+), 19 deletions(-)
---
diff --git a/lessphp.spec b/lessphp.spec
index 2ea2b9a..4160d68 100644
--- a/lessphp.spec
+++ b/lessphp.spec
@@ -1,11 +1,11 @@
Summary: lessphp is a compiler for LESS written in PHP
Name: lessphp
-Version: 0.3.3
+Version: 0.3.8
Release: 1
License: MIT/GPL v3
Group: Applications
Source0: http://leafo.net/lessphp/src/%{name}-%{version}.tar.gz
-# Source0-md5: 7a228e3239c5bf8dce7435447c3bb234
+# Source0-md5: 5cdda4ca825678077a669a67c835c6c7
#Source0: https://github.com/leafo/lessphp/tarball/master#/%{name}.tgz
Patch0: fixes.patch
URL: http://leafo.net/lessphp/
diff --git a/fixes.patch b/fixes.patch
index 2b139c5..ba6be91 100644
--- a/fixes.patch
+++ b/fixes.patch
@@ -1,12 +1,14 @@
---- lessphp-0.3.3/plessc~ 2012-03-29 19:29:31.000000000 +0300
-+++ lessphp-0.3.3/plessc 2012-03-29 19:30:00.205475415 +0300
-@@ -1,13 +1,10 @@
+--- lessphp-0.3.5/plessc~ 2012-10-04 06:36:19.000000000 +0300
++++ lessphp-0.3.5/plessc 2012-10-04 06:37:12.239862158 +0300
+@@ -1,4 +1,4 @@
-#!/usr/bin/php -q
+#!/usr/bin/php
<?php
- //
- // command line utility to compile less to stdout
- // leaf corcoran <leafo.net>
+ // Command line utility to compile LESS to STDOUT
+ // Leaf Corcoran <leafot at gmail.com>, 2012
+@@ -38,10 +38,7 @@
+ exit($HELP);
+ }
-error_reporting(E_ALL);
-$path = realpath(dirname(__FILE__)).'/';
@@ -16,19 +18,9 @@
$VERSION = lessc::$VERSION;
-@@ -65,7 +62,7 @@
- }
-
- if (has("v")) {
-- exit($VERSION."\n");
-+ die($VERSION."\n");
- }
-
- if (has("r", $loc)) {
-@@ -136,6 +133,3 @@
+@@ -213,5 +210,3 @@
err($fa.$ex->getMessage());
exit(1);
}
-
--
-?>
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/lessphp.git/commitdiff/00a90112b2c4a63a847d97d037c2e1645736e044
More information about the pld-cvs-commit
mailing list