[packages/test] skeleton for rpm testing.

glen glen at pld-linux.org
Thu Jun 20 14:13:37 CEST 2013


commit efd472d0ea190c254b16eeda10a7c81714e26c37
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Thu Jun 20 15:12:55 2013 +0300

    skeleton for rpm testing.
    
    create your own test in separate branch, keep master branch clean:
    
    git checkout -b somebranch
    git push origin -u somebranch
    
    use for example JDK or JDKBR branch for jdk distfiles drops

 test.spec | 19 ++++++++-----------
 1 file changed, 8 insertions(+), 11 deletions(-)
---
diff --git a/test.spec b/test.spec
index 36fc120..0b09819 100644
--- a/test.spec
+++ b/test.spec
@@ -1,30 +1,27 @@
-%define		plugin configmanager
-Summary:	testing something else
-Name:		builder
+# skeleton for rpm testing.
+# create your own test in separate branch, keep master branch clean
+# git checkout -b somebranch
+# git push origin -u somebranch
+Summary:	testing something
+Name:		test
 Version:	1
 Release:	0.1
 License:	GPL
 Group:		Applications/System
 URL:		http://www.pld-linux.org/
-Source0:	jdk-6u45-linux-i586.bin
-# Source0-md5:	3269370b7c34e6cbfed8785d3d0c5cbd
-Source1:	jdk-6u45-linux-x64.bin
-# Source1-md5:	40c1a87563c5c6a90a0ed6994615befe
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-testing git
+testing something
 
 %prep
 %setup -qcT
 
 %install
+rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT
-install a $RPM_BUILD_ROOT
-ln -s /not-existing-crap $RPM_BUILD_ROOT/test
 
 %clean
 
 %files
 %defattr(644,root,root,755)
-/*
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list