diff --git a/redhat/build.sh b/redhat/build.sh new file mode 100755 index 00000000..4654d711 --- /dev/null +++ b/redhat/build.sh @@ -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) + diff --git a/piler.spec b/redhat/piler.spec similarity index 100% rename from piler.spec rename to redhat/piler.spec