[packages/test/nvr-differ] - testing detection of VR diffs among packages

baggins baggins at pld-linux.org
Fri Oct 18 22:09:44 CEST 2013


commit ea74f2ff09acdadc7224cacd6c7e71f98ef0123b
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Fri Oct 18 22:09:19 2013 +0200

    - testing detection of VR diffs among packages

 test.spec | 17 ++++++++++++++++-
 1 file changed, 16 insertions(+), 1 deletion(-)
---
diff --git a/test.spec b/test.spec
index 0b09819..09dd0c0 100644
--- a/test.spec
+++ b/test.spec
@@ -14,14 +14,29 @@ BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 %description
 testing something
 
+%package sub
+Summary:	tes
+Release:	2
+
+%description sub
+x
+
 %prep
 %setup -qcT
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT/tmp
+
+:>$RPM_BUILD_ROOT/tmp/xxx
+:>$RPM_BUILD_ROOT/tmp/yyy
 
 %clean
 
 %files
 %defattr(644,root,root,755)
+/tmp/xxx
+
+%files sub
+%defattr(644,root,root,755)
+/tmp/yyy
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list