packages (DEVEL): php-PHPUnit/php-PHPUnit.spec - BR: php-pear-PEAR >= 1.9.0...

arvenil arvenil at pld-linux.org
Tue Jun 22 15:48:58 CEST 2010


Author: arvenil                      Date: Tue Jun 22 13:48:58 2010 GMT
Module: packages                      Tag: DEVEL
---- Log message:
- BR: php-pear-PEAR >= 1.9.0 (not sure if not too high)
- O: php-PHPUnit-tests (tests are no more provided)
- added 'pear(SymfonyComponents.*)' to _noautoreq
- builds and works fine

---- Files affected:
packages/php-PHPUnit:
   php-PHPUnit.spec (1.9.2.1 -> 1.9.2.2) 

---- Diffs:

================================================================
Index: packages/php-PHPUnit/php-PHPUnit.spec
diff -u packages/php-PHPUnit/php-PHPUnit.spec:1.9.2.1 packages/php-PHPUnit/php-PHPUnit.spec:1.9.2.2
--- packages/php-PHPUnit/php-PHPUnit.spec:1.9.2.1	Tue Jun 22 13:51:19 2010
+++ packages/php-PHPUnit/php-PHPUnit.spec	Tue Jun 22 15:48:52 2010
@@ -14,16 +14,17 @@
 # Source0-md5:	5cf889fe0e111afd0a401660c124ebd5
 URL:		http://www.phpunit.de/
 BuildRequires:	php-pear >= 4:1.1-2
-BuildRequires:	php-pear-PEAR
+BuildRequires:	php-pear-PEAR >= 1.9.0
 BuildRequires:	rpm-php-pearprov >= 4.4.2-11
 BuildRequires:	rpmbuild(macros) >= 1.473
 Requires:	php-common >= 3:4.1.0
 Requires:	php-pear >= 4:1.1-2
+Obsoletes:	php-PHPUnit-tests
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 # exclude optional dependencies
-%define		_noautoreq	'pear(Image/GraphViz.*)' 'pear(Log.*)'
+%define		_noautoreq	'pear(Image/GraphViz.*)' 'pear(Log.*)' 'pear(SymfonyComponents.*)'
 
 %description
 PHPUnit is a regression testing framework used by the developer who
@@ -39,20 +40,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
 
@@ -73,16 +60,18 @@
 %{php_pear_dir}/%{_class}
 %attr(755,root,root) %{_bindir}/phpunit
 
-%files tests
-%defattr(644,root,root,755)
-%{php_pear_dir}/tests/%{_pearname}
-
 %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.9.2.2  2010/06/22 13:48:52  arvenil
+- BR: php-pear-PEAR >= 1.9.0 (not sure if not too high)
+- O: php-PHPUnit-tests (tests are no more provided)
+- added 'pear(SymfonyComponents.*)' to _noautoreq
+- builds and works fine
+
 Revision 1.9.2.1  2010/06/22 11:51:19  arvenil
 - up to 3.4.9 (just md5)
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/php-PHPUnit/php-PHPUnit.spec?r1=1.9.2.1&r2=1.9.2.2&f=u



More information about the pld-cvs-commit mailing list