[packages/php-saucelabs-PHPUnit: 5/26] - pear.phpunit.de channel defined in php-pear; rel 4

glen glen at pld-linux.org
Mon Jan 28 21:04:00 CET 2013


commit 8ef52d6a717d96d15036b1b9cb1ba38ae5023a8a
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Wed Dec 10 08:52:33 2008 +0000

    - pear.phpunit.de channel defined in php-pear; rel 4
    
    Changed files:
        php-phpunit-PHPUnit.spec -> 1.5

 php-phpunit-PHPUnit.spec | 15 ++++-----------
 1 file changed, 4 insertions(+), 11 deletions(-)
---
diff --git a/php-phpunit-PHPUnit.spec b/php-phpunit-PHPUnit.spec
index 5230433..e8cab9f 100644
--- a/php-phpunit-PHPUnit.spec
+++ b/php-phpunit-PHPUnit.spec
@@ -6,19 +6,18 @@ Summary:	%{_pearname} - regression testing framework for unit tests
 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)
 
@@ -54,17 +53,13 @@ Tests for PEAR::%{_pearname}.
 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
 
@@ -72,8 +67,6 @@ rm -rf $RPM_BUILD_ROOT
 %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
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/php-saucelabs-PHPUnit.git/commitdiff/ee31b5ae1a839e78274e9c9fb526debf92b852ca



More information about the pld-cvs-commit mailing list