template-specs: php-pear.spec - no tests packaging

glen glen at pld-linux.org
Tue Feb 7 12:42:50 CET 2012


Author: glen                         Date: Tue Feb  7 11:42:50 2012 GMT
Module: template-specs                Tag: HEAD
---- Log message:
- no tests packaging

---- Files affected:
template-specs:
   php-pear.spec (1.44 -> 1.45) 

---- Diffs:

================================================================
Index: template-specs/php-pear.spec
diff -u template-specs/php-pear.spec:1.44 template-specs/php-pear.spec:1.45
--- template-specs/php-pear.spec:1.44	Sun May 22 14:32:26 2011
+++ template-specs/php-pear.spec	Tue Feb  7 12:42:45 2012
@@ -44,20 +44,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
 
@@ -78,23 +64,6 @@
 install -d docs/%{pearname}
 mv ./%{php_pear_dir}/data/%{pearname}/docs/* docs/%{pearname}
 
-# tests fixups
-# class/test -> tests
-install -d ./%{php_pear_dir}/tests/%{pearname}
-mv ./%{php_pear_dir}/{%{_class}/test/*,tests/%{pearname}}
-
-# pear/tests/pearname/tests -> pear/tests/pearname
-mv ./%{php_pear_dir}/tests/%{pearname}/{tests/*,}
-rmdir ./%{php_pear_dir}/tests/%{pearname}/tests
-
-# docs/tests -> tests
-install -d ./%{php_pear_dir}/tests/%{pearname}
-mv docs/%{pearname}/tests/* ./%{php_pear_dir}/tests/%{pearname}
-
-# tests -> tests/%{pearname}
-install -d ./%{php_pear_dir}/tests/%{pearname}
-mv ./%{php_pear_dir}/tests/{*,%{pearname}}
-
 # examples fixups
 mv ./%{php_pear_dir}/examples .
 mv ./%{php_pear_dir}/%{_class}/examples .
@@ -136,16 +105,15 @@
 
 %{_examplesdir}/%{name}-%{version}
 
-%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.45  2012/02/07 11:42:45  glen
+- no tests packaging
+
 Revision 1.44  2011/05/22 12:32:26  glen
 - use %pearname
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/template-specs/php-pear.spec?r1=1.44&r2=1.45&f=u



More information about the pld-cvs-commit mailing list