]> git.pld-linux.org Git - packages/test.git/commitdiff
Test pear deps
authorElan Ruusamäe <glen@pld-linux.org>
Sun, 29 Mar 2020 07:24:38 +0000 (10:24 +0300)
committerElan Ruusamäe <glen@pld-linux.org>
Sun, 29 Mar 2020 07:24:38 +0000 (10:24 +0300)
test.spec

index 325be10e47a9c24105940fdecb09ddc8dfa3ec0e..d4f1667217f241b423ae58028a31f77a2825f3f8 100644 (file)
--- 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
This page took 0.117228 seconds and 4 git commands to generate.