]> git.pld-linux.org Git - packages/test.git/commitdiff
- some real tests PHP_DEPS
authorElan Ruusamäe <glen@delfi.ee>
Wed, 17 Oct 2012 19:48:58 +0000 (22:48 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Wed, 17 Oct 2012 19:48:58 +0000 (22:48 +0300)
test.spec

index 57202c90a64ecf3be492e880e045e1a07fa53f30..15bddd3b3d9810037e879460df08525427cdcbff 100644 (file)
--- 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
This page took 0.181271 seconds and 4 git commands to generate.