SPECS: php-pear-Math_Polynomial.spec - -tests subpackage - Math/Nu...

adamg adamg at pld-linux.org
Mon Sep 4 23:24:49 CEST 2006


Author: adamg                        Date: Mon Sep  4 21:24:49 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- -tests subpackage
- Math/Numerical/RootFinding.php is actually required
- release 2

---- Files affected:
SPECS:
   php-pear-Math_Polynomial.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SPECS/php-pear-Math_Polynomial.spec
diff -u SPECS/php-pear-Math_Polynomial.spec:1.1 SPECS/php-pear-Math_Polynomial.spec:1.2
--- SPECS/php-pear-Math_Polynomial.spec:1.1	Mon Sep  4 14:09:27 2006
+++ SPECS/php-pear-Math_Polynomial.spec	Mon Sep  4 23:24:44 2006
@@ -9,7 +9,7 @@
 Summary(pl):	%{_pearname} - Pakiet do wyświetlania oraz obróbki równań wielomianowych
 Name:		php-pear-%{_pearname}
 Version:	0.1.0
-Release:	1
+Release:	2
 License:	BSD
 Group:		Development/Languages/PHP
 Source0:	http://pear.php.net/get/%{_pearname}-%{version}.tgz
@@ -21,8 +21,6 @@
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define		_noautoreq	'pear(Math/Numerical/RootFinding.*)'
-
 %description
 The class Math_Polynomial represents Polynomial equations built from
 strings or from other Polynomial objects and offers some basic
@@ -44,6 +42,20 @@
 
 Ta klasa ma w PEAR status: %{_status}.
 
+%package tests
+Summary:	Tests for PEAR::%{_pearname}
+Summary(pl):	Testy dla PEAR::%{_pearname}
+Group:		Development/Languages/PHP
+Requires:	%{name} = %{version}-%{release}
+AutoReq:	no
+AutoProv:	no
+
+%description tests
+Tests for PEAR::%{_pearname}.
+
+%description tests -l pl
+Testy dla PEAR::%{_pearname}.
+
 %prep
 %pear_package_setup
 
@@ -67,15 +79,23 @@
 %{php_pear_dir}/Math/Polynomial.php
 %{php_pear_dir}/Math/PolynomialOp.php
 %{php_pear_dir}/Math/doc/Polynomial_examples.php
-%{php_pear_dir}/Math/test/PolynomialTest.php
 %{php_pear_dir}/Math/Polynomial/PolynomialTerm.php
 
+%files tests
+%defattr(644,root,root,755)
+%{php_pear_dir}/Math/test/PolynomialTest.php
+
 %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.2  2006/09/04 21:24:44  adamg
+- -tests subpackage
+- Math/Numerical/RootFinding.php is actually required
+- release 2
+
 Revision 1.1  2006/09/04 12:09:27  adamg
 - new
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/php-pear-Math_Polynomial.spec?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list