[packages/test/PHP_DEPS] - some real tests

glen glen at pld-linux.org
Wed Oct 17 21:49:02 CEST 2012


commit 96e7a2e31dac3c6e184de5d6b0c9b17e5a649d90
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Wed Oct 17 22:48:58 2012 +0300

    - some real tests

 test.spec | 6 ++++++
 1 file changed, 6 insertions(+)
---
diff --git a/test.spec b/test.spec
index 57202c9..15bddd3 100644
--- a/test.spec
+++ b/test.spec
@@ -10,11 +10,16 @@ BuildRequires:	rpmbuild(macros) >= 1.580
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+%define		_noautoreq_pear Excluded.php
+
 %description
 Testing PHP deps.
 
 %prep
 %setup -qcT
+cat <<EOF
+%__noautoreq
+EOF
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -22,6 +27,7 @@ install -d $RPM_BUILD_ROOT%{php_pear_dir}
 cat <<EOF > $RPM_BUILD_ROOT%{php_pear_dir}/a.php
 <?php
 require_once 'PEAR.php';
+require_once 'Excluded.php';
 EOF
 
 %clean
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/test.git/commitdiff/96e7a2e31dac3c6e184de5d6b0c9b17e5a649d90



More information about the pld-cvs-commit mailing list