rpm build updates

This commit is contained in:
SJ 2013-11-02 23:38:05 +01:00
parent f2800ba1f7
commit 7d139629fb
2 changed files with 10 additions and 0 deletions

10
redhat/build.sh Executable file
View File

@ -0,0 +1,10 @@
#!/bin/bash
rm -rf master.tar.gz ~/rpmbuild; mkdir -p mkdir ~/rpmbuild/{SOURCES,BUILDROOT}
wget https://bitbucket.org/jsuto/piler/get/master.tar.gz
tar zxf master.tar.gz
rm -rf piler-0.1.25
mv jsuto-piler-* piler-0.1.25
tar cfz ~/rpmbuild/SOURCES/master.tar.gz piler-0.1.25
(cd piler-0.1.25 ; rpmbuild -bb piler.spec)