summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2014-04-13 09:12:47 +0200
committerRemi Collet <fedora@famillecollet.com>2014-04-13 09:12:47 +0200
commit7196710339e247f4991cf504b54220d5d307d2a9 (patch)
treee6245f709ea9d720f5ad3d29709fd9789da846d8
parent72f4a94a8bc81a7047d7033a7040dba16a6c584a (diff)
php-pear-console-color2: fix from review #1066255
-rw-r--r--php-pear-console-color2.spec16
1 files 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.
<?php
- include "Console/Color2.php"
+ include "Console/Color2.php";
$console = new Console_Color2();
- print $console->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 <remi@fedoraproject.org> - 0.1.2-2
+- fix from review #1066255
+- /usr/share/pear/Console is own by pear
+- fix description
+
* Tue Feb 18 2014 Remi Collet <remi@fedoraproject.org> - 0.1.2-1
- initial package, version 0.1.2 (alpha) \ No newline at end of file