From 7196710339e247f4991cf504b54220d5d307d2a9 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Sun, 13 Apr 2014 09:12:47 +0200 Subject: php-pear-console-color2: fix from review #1066255 --- php-pear-console-color2.spec | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/php-pear-console-color2.spec b/php-pear-console-color2.spec index e0da106..7739987 100644 --- a/php-pear-console-color2.spec +++ b/php-pear-console-color2.spec @@ -12,7 +12,7 @@ Name: php-pear-console-color2 Version: 0.1.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Easily use ANSI console colors in your application Group: Development/Libraries @@ -32,12 +32,12 @@ Provides: php-pear(%{pear_name}) = %{version} %description -You can use Console_Color::convert to transform colorcodes like %r into +You can use Console_Color::convert to transform colorcodes like %%r into ANSI control codes. convert("%rHello World!%n"); + print $console->convert("%%rHello World!%%n"); ?> would print "Hello World" in red, for example. @@ -89,10 +89,16 @@ fi %defattr(-,root,root,-) %doc %{pear_docdir}/%{pear_name} %{pear_xmldir}/%{name}.xml -%{pear_phpdir}/Console +# Console is own by required php-pear +%{pear_phpdir}/Console/Color2.php %changelog +* Sun Apr 13 2014 Remi Collet - 0.1.2-2 +- fix from review #1066255 +- /usr/share/pear/Console is own by pear +- fix description + * Tue Feb 18 2014 Remi Collet - 0.1.2-1 - initial package, version 0.1.2 (alpha) \ No newline at end of file -- cgit