packages: php-pear-PEAR_Command_Packaging/php-pear-PEAR-template.spec - alw...

glen glen at pld-linux.org
Sat Aug 21 12:17:43 CEST 2010


Author: glen                         Date: Sat Aug 21 10:17:43 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- always remove tests

---- Files affected:
packages/php-pear-PEAR_Command_Packaging:
   php-pear-PEAR-template.spec (1.22 -> 1.23) 

---- Diffs:

================================================================
Index: packages/php-pear-PEAR_Command_Packaging/php-pear-PEAR-template.spec
diff -u packages/php-pear-PEAR_Command_Packaging/php-pear-PEAR-template.spec:1.22 packages/php-pear-PEAR_Command_Packaging/php-pear-PEAR-template.spec:1.23
--- packages/php-pear-PEAR_Command_Packaging/php-pear-PEAR-template.spec:1.22	Sat Aug 21 10:18:55 2010
+++ packages/php-pear-PEAR_Command_Packaging/php-pear-PEAR-template.spec	Sat Aug 21 12:17:38 2010
@@ -42,10 +42,13 @@
 install -d $RPM_BUILD_ROOT%{php_pear_dir}
 %pear_package_install
 
+# don't care for tests
+rm -rf $RPM_BUILD_ROOT%{php_pear_dir}/tests/%{_pearname}
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%if "@_noautoreq@" != ""
+%if 0%{?_noautoreq:1}
 %post -p <lua>
 %pear_package_print_optionalpackages
 %endif
@@ -53,7 +56,7 @@
 %files
 %defattr(644,root,root,755)
 %doc ChangeLog install.log
-%if "@_noautoreq@" != ""
+%if 0%{?_noautoreq:1}
 %doc optional-packages.txt
 %endif
 @doc_files_statement@
@@ -65,8 +68,6 @@
 %if 0
 # www:
 @www_files_statement@
-# test:
- at test_files_statement@
 # custom:
 @customrole_files_statement@
 %endif
@@ -77,6 +78,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.23  2010/08/21 10:17:38  glen
+- always remove tests
+
 Revision 1.22  2010/08/21 08:18:55  glen
 - @package2xml@ expand
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/php-pear-PEAR_Command_Packaging/php-pear-PEAR-template.spec?r1=1.22&r2=1.23&f=u



More information about the pld-cvs-commit mailing list