packages: php-phpunit-PHPUnit/php-phpunit-PHPUnit.spec - rename to conform ...
glen
glen at pld-linux.org
Sat Feb 12 19:14:45 CET 2011
Author: glen Date: Sat Feb 12 18:14:45 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- rename to conform to php-<channel>-<name> naming policy
- update to 3.5.11
---- Files affected:
packages/php-phpunit-PHPUnit:
php-phpunit-PHPUnit.spec (1.17 -> 1.18)
---- Diffs:
================================================================
Index: packages/php-phpunit-PHPUnit/php-phpunit-PHPUnit.spec
diff -u packages/php-phpunit-PHPUnit/php-phpunit-PHPUnit.spec:1.17 packages/php-phpunit-PHPUnit/php-phpunit-PHPUnit.spec:1.18
--- packages/php-phpunit-PHPUnit/php-phpunit-PHPUnit.spec:1.17 Tue Nov 23 07:24:51 2010
+++ packages/php-phpunit-PHPUnit/php-phpunit-PHPUnit.spec Sat Feb 12 19:14:40 2011
@@ -1,22 +1,17 @@
# $Revision$, $Date$
-#
-# Conditional build:
-%bcond_with tests # build with tests
-
-%define _class PHPUnit
%define _status stable
-%define _pearname %{_class}
+%define _pearname PHPUnit
%define php_min_version 5.2.7
%include /usr/lib/rpm/macros.php
Summary: %{_pearname} - regression testing framework for unit tests
Summary(pl.UTF-8): %{_pearname} - zestaw testów regresyjnych
-Name: php-%{_pearname}
-Version: 3.5.5
-Release: 0.1
+Name: php-phpunit-%{_pearname}
+Version: 3.5.11
+Release: 1
License: BSD
Group: Development/Languages/PHP
Source0: http://pear.phpunit.de/get/PHPUnit-%{version}.tgz
-# Source0-md5: a66b1b02911e24c49c98ff0a8cdf148c
+# Source0-md5: ddad3f5b0a2743b73bb6ad408c6b284d
URL: http://www.phpunit.de/
BuildRequires: php-channel(components.ez.no)
BuildRequires: php-channel(pear.phpunit.de)
@@ -40,17 +35,20 @@
Requires: php-reflection
Requires: php-spl
Requires: php-symfony-YAML >= 1.0.2
+Suggests: php-curl
Suggests: php-dbus
Suggests: php-json
Suggests: php-pdo
+Suggests: php-simplexml
Suggests: php-soap
Suggests: php-tokenizer
+Obsoletes: php-PHPUnit
+Obsoletes: php-PHPUnit-tests
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
# exclude optional dependencies
%define dep_optional pear(Image/GraphViz.*) pear(Log.*) pear(SymfonyComponents/.*) pear(XML/RPC2/Client.php)
-%define dep_missing1 pear(File/Iterator/Factory.php) pear(PHP/CodeCoverage.*) pear(PHP/Timer.php) pear(Text/Template.php)
# put it together for rpmbuild
%define _noautoreq %{?dep_optional} %{?dep_missing}
@@ -69,20 +67,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
@@ -101,13 +85,7 @@
%doc install.log optional-packages.txt
%{php_pear_dir}/.registry/.channel.pear.phpunit.de/*.reg
%attr(755,root,root) %{_bindir}/phpunit
-%{php_pear_dir}/%{_class}
-
-%if %{with tests}
-%files tests
-%defattr(644,root,root,755)
-%{php_pear_dir}/tests/%{_pearname}
-%endif
+%{php_pear_dir}/PHPUnit
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -115,6 +93,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.18 2011/02/12 18:14:40 glen
+- rename to conform to php-<channel>-<name> naming policy
+- update to 3.5.11
+
Revision 1.17 2010/11/23 06:24:51 glen
- 3.5.5
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/php-phpunit-PHPUnit/php-phpunit-PHPUnit.spec?r1=1.17&r2=1.18&f=u
More information about the pld-cvs-commit
mailing list