From: Tim Rozet Date: Tue, 15 Sep 2015 15:12:25 +0000 (+0000) Subject: Merge "changing branch to checkout from to arno/stable and placing all repo contents... X-Git-Tag: arno.2015.2.0~44 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=99a3f93de07d884101c8e6b37343280231e6c94a;hp=bfacf6ffb2f0d0e6ea28714acd78eabf5a682eef;p=genesis.git Merge "changing branch to checkout from to arno/stable and placing all repo contents into /root instead of deploy.sh only in /bin" into stable/arno --- diff --git a/foreman/build/Makefile b/foreman/build/Makefile index 8b87ce6..09e91d2 100644 --- a/foreman/build/Makefile +++ b/foreman/build/Makefile @@ -106,7 +106,7 @@ rpm-clean: .PHONY: rpm rpm: - pushd ../../ && git archive --format=tar --prefix=opnfv-genesis-0.1/ HEAD | gzip > foreman/build/opnfv-genesis.tar.gz + pushd ../../ && git archive --format=tar --prefix=opnfv-genesis-0.1/ origin/stable/arno | gzip > foreman/build/opnfv-genesis.tar.gz rpmbuild -ba opnfv-genesis.spec -D '_topdir %(echo `pwd`)' -D '_builddir %(echo `pwd`)' -D '_sourcedir %(echo `pwd`)' -D '_rpmdir %(echo `pwd`)' -D '_specdir %(echo `pwd`)' -D '_srcrpmdir %(echo `pwd`)' @make rpm-clean diff --git a/foreman/build/opnfv-genesis.spec b/foreman/build/opnfv-genesis.spec index 674760f..bcac1a9 100644 --- a/foreman/build/opnfv-genesis.spec +++ b/foreman/build/opnfv-genesis.spec @@ -21,11 +21,12 @@ The files from the OPNFV genesis repo %build %install -mkdir -p %{buildroot}/usr/bin/ -cp foreman/ci/deploy.sh %{buildroot}/usr/bin/ +mkdir -p %{buildroot}/root/genesis +cp -r foreman/ %{buildroot}/root/genesis +cp -r common/ %{buildroot}/root/genesis %files -/usr/bin/deploy.sh +/root/genesis %changelog