]> git.pld-linux.org Git - packages/test.git/commitdiff
skeleton for rpm testing.
authorElan Ruusamäe <glen@delfi.ee>
Thu, 20 Jun 2013 12:12:55 +0000 (15:12 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Thu, 20 Jun 2013 12:13:26 +0000 (15:13 +0300)
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

index 36fc120f8fbe2d4244f2d374bcfb5f42fcb1c31e..0b098192879d77bf08004311a2c73e35cb04c00f 100644 (file)
--- 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)
-/*
This page took 0.09674 seconds and 4 git commands to generate.