packages: php-pear-PHPUnit2/php-pear-PHPUnit2.spec - really drop tests

glen glen at pld-linux.org
Thu Dec 9 16:13:02 CET 2010


Author: glen                         Date: Thu Dec  9 15:13:02 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- really drop tests

---- Files affected:
packages/php-pear-PHPUnit2:
   php-pear-PHPUnit2.spec (1.43 -> 1.44) 

---- Diffs:

================================================================
Index: packages/php-pear-PHPUnit2/php-pear-PHPUnit2.spec
diff -u packages/php-pear-PHPUnit2/php-pear-PHPUnit2.spec:1.43 packages/php-pear-PHPUnit2/php-pear-PHPUnit2.spec:1.44
--- packages/php-pear-PHPUnit2/php-pear-PHPUnit2.spec:1.43	Thu Dec  9 15:11:45 2010
+++ packages/php-pear-PHPUnit2/php-pear-PHPUnit2.spec	Thu Dec  9 16:12:57 2010
@@ -1,13 +1,12 @@
 # $Revision$, $Date$
 %include	/usr/lib/rpm/macros.php
-%define		_class		PHPUnit2
 %define		_status		stable
-%define		_pearname	%{_class}
+%define		_pearname	PHPUnit2
 Summary:	%{_pearname} - regression testing framework for unit tests
 Summary(pl.UTF-8):	%{_pearname} - zestaw testów regresyjnych
 Name:		php-pear-%{_pearname}
 Version:	2.3.6
-Release:	7
+Release:	8
 License:	PHP 2.02
 Group:		Development/Languages/PHP
 Source0:	http://pear.php.net/get/%{_pearname}-%{version}.tgz
@@ -26,10 +25,11 @@
 Requires:	php-spl
 Suggests:	php-pear-Log
 Suggests:	php-xdebug
+Obsoletes:	php-pear-PHPUnit2-tests
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define		_noautoreq	'pear(Log.*)'
+%define		_noautoreq	pear(Log.*)
 
 %description
 PHPUnit2 is a regression testing framework used by the developer who
@@ -46,20 +46,6 @@
 
 Ta klasa ma w PEAR status: %{_status}.
 
-%package tests
-Summary:	Tests for PEAR::%{_pearname}
-Summary(pl.UTF-8):	Testy dla PEAR::%{_pearname}
-Group:		Development/Languages/PHP
-Requires:	%{name} = %{version}-%{release}
-AutoProv:	no
-AutoReq:	no
-
-%description tests
-Tests for PEAR::%{_pearname}.
-
-%description tests -l pl.UTF-8
-Testy dla PEAR::%{_pearname}.
-
 %prep
 %pear_package_setup
 
@@ -82,21 +68,18 @@
 %defattr(644,root,root,755)
 %doc install.log optional-packages.txt
 %{php_pear_dir}/.registry/*.reg
-%{php_pear_dir}/%{_class}
+%{php_pear_dir}/PHPUnit2
 %attr(755,root,root) %{_bindir}/phpunit
 
-%if 0
-%files tests
-%defattr(644,root,root,755)
-%{php_pear_dir}/tests/*
-%endif
-
 %define	date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
 * %{date} PLD Team <feedback at pld-linux.org>
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.44  2010/12/09 15:12:57  glen
+- really drop tests
+
 Revision 1.43  2010/12/09 14:11:45  arekm
 - rel 7; no tests subpackage
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/php-pear-PHPUnit2/php-pear-PHPUnit2.spec?r1=1.43&r2=1.44&f=u



More information about the pld-cvs-commit mailing list