summaryrefslogtreecommitdiffstats
path: root/t/data/SPECS/buildroot_BuildRoot.spec
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-12-18 16:57:25 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-12-18 16:57:25 +0000
commitfa957b2abb16441c131d8242b22579ca63d70c01 (patch)
tree1549ed1f2f0c9183fc354ae931445d8f1194ada7 /t/data/SPECS/buildroot_BuildRoot.spec
parenta03bae98662e36648ee8005656b09c03aa0c4d33 (diff)
downloadurpmi-fa957b2abb16441c131d8242b22579ca63d70c01.tar
urpmi-fa957b2abb16441c131d8242b22579ca63d70c01.tar.gz
urpmi-fa957b2abb16441c131d8242b22579ca63d70c01.tar.bz2
urpmi-fa957b2abb16441c131d8242b22579ca63d70c01.tar.xz
urpmi-fa957b2abb16441c131d8242b22579ca63d70c01.zip
also check the pkg correctly builds with files
Diffstat (limited to 't/data/SPECS/buildroot_BuildRoot.spec')
-rw-r--r--t/data/SPECS/buildroot_BuildRoot.spec4
1 files changed, 3 insertions, 1 deletions
diff --git a/t/data/SPECS/buildroot_BuildRoot.spec b/t/data/SPECS/buildroot_BuildRoot.spec
index 2dce81c4..cc7b78ca 100644
--- a/t/data/SPECS/buildroot_BuildRoot.spec
+++ b/t/data/SPECS/buildroot_BuildRoot.spec
@@ -28,6 +28,8 @@ wanted=$(echo %{_tmppath}/TESTING-1-1 | sed 's!//!/!')
[ "$RPM_BUILD_ROOT" = $wanted ] || { echo "RPM_BUILD_ROOT should be $wanted instead of $RPM_BUILD_ROOT"; exit 1; }
[ "%macro_using_buildroot" = $wanted ] || { echo "macro_using_buildroot should be $wanted instead of %buildroot"; exit 1; }
-install -d $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT/etc
+echo foo > $RPM_BUILD_ROOT/etc/foo
%files
+/etc/foo