SPECS: php-PHPUnit.spec - pear.phpunit.de channel defined in php-pear; rel 4

glen glen at pld-linux.org
Wed Dec 10 09:52:38 CET 2008


Author: glen                         Date: Wed Dec 10 08:52:38 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- pear.phpunit.de channel defined in php-pear; rel 4

---- Files affected:
SPECS:
   php-PHPUnit.spec (1.4 -> 1.5) 

---- Diffs:

================================================================
Index: SPECS/php-PHPUnit.spec
diff -u SPECS/php-PHPUnit.spec:1.4 SPECS/php-PHPUnit.spec:1.5
--- SPECS/php-PHPUnit.spec:1.4	Wed Dec 10 00:19:48 2008
+++ SPECS/php-PHPUnit.spec	Wed Dec 10 09:52:33 2008
@@ -7,19 +7,18 @@
 Summary(pl.UTF-8):	%{_pearname} - zestaw testów regresyjnych
 Name:		php-%{_pearname}
 Version:	3.2.21
-Release:	3
+Release:	4
 License:	BSD
 Group:		Development/Languages/PHP
 Source0:	http://pear.phpunit.de/get/PHPUnit-%{version}.tgz
 # Source0-md5:	183b09907e341006e549476efaa18442
-Source1:	http://pear.phpunit.de/channel.xml
-# Source1-md5:	b8ccb5f4727e7e6d4ee0c0e690f5423b
 URL:		http://www.phpunit.de/
+BuildRequires:	php-pear >= 4:1.1-2
 BuildRequires:	php-pear-PEAR
 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-1
+Requires:	php-pear >= 4:1.1-2
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -55,17 +54,13 @@
 Testy dla PEAR::%{_pearname}.
 
 %prep
-%pear_package_setup -c %{SOURCE1}
+%pear_package_setup
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{php_pear_dir}
 %pear_package_install
 
-# also copy channel information
-install -d $RPM_BUILD_ROOT%{php_pear_dir}/.channels
-cp -a .%{php_pear_dir}/.channels/pear.phpunit.de.reg $RPM_BUILD_ROOT%{php_pear_dir}/.channels
-
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -73,8 +68,6 @@
 %defattr(644,root,root,755)
 %doc install.log optional-packages.txt
 %{php_pear_dir}/.registry/.channel.pear.phpunit.de/*.reg
-%{php_pear_dir}/.channels/pear.phpunit.de.reg
-
 %{php_pear_dir}/%{_class}
 
 %files tests
@@ -87,6 +80,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.5  2008/12/10 08:52:33  glen
+- pear.phpunit.de channel defined in php-pear; rel 4
+
 Revision 1.4  2008/12/09 23:19:48  glen
 - channel dir moved to php-pear package; rel 3
 
================================================================

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



More information about the pld-cvs-commit mailing list