[packages/php-pear-Console_Table] suggests Console_Color2

glen glen at pld-linux.org
Tue Jun 24 09:56:10 CEST 2014


commit 1801067ee0f2bb86d9928535191bfad60a10c1be
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Tue Jun 24 10:56:02 2014 +0300

    suggests Console_Color2

 php-pear-Console_Table.spec | 26 ++++++++++++--------------
 1 file changed, 12 insertions(+), 14 deletions(-)
---
diff --git a/php-pear-Console_Table.spec b/php-pear-Console_Table.spec
index aea112a..46f861e 100644
--- a/php-pear-Console_Table.spec
+++ b/php-pear-Console_Table.spec
@@ -1,43 +1,41 @@
-%define		_class		Console
-%define		_subclass	Table
-%define		_status		stable
-%define		_pearname	Console_Table
+%define		status		stable
+%define		pearname	Console_Table
 %include	/usr/lib/rpm/macros.php
-Summary:	%{_pearname} - makes it easy to build console style tables
-Summary(pl.UTF-8):	%{_pearname} - proste tworzenie tabel konsolowych
-Name:		php-pear-%{_pearname}
+Summary:	%{pearname} - makes it easy to build console style tables
+Summary(pl.UTF-8):	%{pearname} - proste tworzenie tabel konsolowych
+Name:		php-pear-%{pearname}
 Version:	1.2.0
-Release:	1
+Release:	2
 License:	PHP 2.02
 Group:		Development/Languages/PHP
-Source0:	http://pear.php.net/get/%{_pearname}-%{version}.tgz
+Source0:	http://pear.php.net/get/%{pearname}-%{version}.tgz
 # Source0-md5:	a491b94bf40c3fed90feac6d7807ba0b
 URL:		http://pear.php.net/package/Console_Table/
 BuildRequires:	php-pear-PEAR
 BuildRequires:	rpm-php-pearprov >= 4.4.2-11
 BuildRequires:	rpmbuild(macros) >= 1.654
 Requires:	php-pear
-Suggests:	php-pear-Console_Color
+Suggests:	php-pear-Console_Color2
 Obsoletes:	php-pear-Console_Table-tests
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 # exclude optional dependencies
-%define	_noautoreq_pear Console/Color.php
+%define		_noautoreq_pear	Console/Color2.*
 
 %description
 Provides methods such as addRow(), insertRow(), addCol() etc to build
 Console tables. Can be with or without headers, and has various
 configurable options.
 
-In PEAR status of this package is: %{_status}.
+In PEAR status of this package is: %{status}.
 
 %description -l pl.UTF-8
 Dostarcza metod, takich jak addRow(), insertRow(), addCol(), itp. do
 tworzenia tabel konsolowych. Mogą być robione z i bez nagłówków.
 Posiada wiele opcji konfigurowalnych.
 
-Ta klasa ma w PEAR status: %{_status}.
+Ta klasa ma w PEAR status: %{status}.
 
 %prep
 %pear_package_setup
@@ -54,4 +52,4 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc install.log
 %{php_pear_dir}/.registry/*.reg
-%{php_pear_dir}/Console/*.php
+%{php_pear_dir}/Console/Table.php
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/php-pear-Console_Table.git/commitdiff/1801067ee0f2bb86d9928535191bfad60a10c1be



More information about the pld-cvs-commit mailing list