Skip to content
Permalink
Browse files

build: Add my custom build script

  • Loading branch information...
lmacken committed Sep 11, 2015
1 parent a9a614d commit a5de2e0dd06873118f7cce463c1f2b5277745417
Showing with 9 additions and 0 deletions.
  1. +9 −0 build.sh
@@ -0,0 +1,9 @@
rpmdev-bumpspec bodhi.spec
cp bodhi.spec ~/rpmbuild/SPECS/
RELEASE=$(grep Release: bodhi.spec | cut -d% -f 1 | cut -d: -f2 | tr -d ' ')
FEDORA=$(cat /etc/fedora-release | cut -d' ' -f3)
python setup.py sdist
mv dist/bodhi-2.0.tar.gz ~/rpmbuild/SOURCES/
rpmbuild -bs ~/rpmbuild/SPECS/bodhi.spec
scp ~/rpmbuild/SRPMS/bodhi-2.0-$RELEASE.fc$FEDORA.src.rpm fedorapeople.org:~/public_html/rpms/
copr-cli build bodhi2 https://lmacken.fedorapeople.org/rpms/bodhi-2.0-$RELEASE.fc$FEDORA.src.rpm

0 comments on commit a5de2e0

Please sign in to comment.
You can’t perform that action at this time.