[packages/test/test/peardeps] Test pear deps

glen glen at pld-linux.org
Sun Mar 29 09:24:52 CEST 2020


commit 863d0039b1029d93e6891b2b4370a890c31f0800
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Sun Mar 29 10:24:38 2020 +0300

    Test pear deps

 test.spec | 20 ++++++++++++++------
 1 file changed, 14 insertions(+), 6 deletions(-)
---
diff --git a/test.spec b/test.spec
index 325be10..d4f1667 100644
--- a/test.spec
+++ b/test.spec
@@ -3,17 +3,19 @@
 #
 # git checkout -b test/feature
 # git push origin -u test/feature
-Summary:	testing something
-Name:		test
-Version:	1
-Release:	7
+Summary:	testing pear deps
+Name:		test-peardep
+Version:	1.0
+Release:	0.1
 License:	GPL
 Group:		Applications/System
-URL:		http://www.pld-linux.org/
+URL:		http://lists.pld-linux.org/mailman/pipermail/pld-devel-en/2020-March/025891.html
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+%define		_noautoprov_pear .*
+
 %description
-testing something
+%{summary}.
 
 %prep
 %setup -qcT
@@ -21,9 +23,15 @@ testing something
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT
+cat<<'EOF' > $RPM_BUILD_ROOT/test.php
+<?php
+
+require 'foo.php';
+EOF
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
+/test.php
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/test.git/commitdiff/863d0039b1029d93e6891b2b4370a890c31f0800



More information about the pld-cvs-commit mailing list