Change in ovirt-engine[master]: build: produce tarballs with embedded spec

Ofer Schreiber has submitted this change and it was merged. Change subject: build: produce tarballs with embedded spec ...................................................................... build: produce tarballs with embedded spec This allow a simple srpm/rpm build using rpmbuild without any wrapper, including the Makefile. This fixes current implementation in which the Makefile and spec files are used from current directory and all the other sources are of the tarball. Expected implementation is to use all files from within tarball. Also, make the tarball, srpm, rpm targets are without any dependency so run every time, as we cannot truly have proper Makefile dependencies in maven project. NOTICE The tarball, srpm, rpm targets are working only in development environment aka git checkout. To produce rpms in different environments, create tarball on development environment: $ make tarball Then produce srpm/rpms at production machines use: $ rpmbuild -ts <tarball> $ rpmbuild --rebuild <srpm> or: $ rpmbuild -tb <tarball> Change-Id: I051cb5adc6eaba9195731311c54bf6a9508841e3 Signed-off-by: Alon Bar-Lev <alonbl@redhat.com> --- M Makefile 1 file changed, 32 insertions(+), 25 deletions(-) Approvals: Ofer Schreiber: Verified; Looks good to me, approved -- To view, visit http://gerrit.ovirt.org/6248 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: I051cb5adc6eaba9195731311c54bf6a9508841e3 Gerrit-PatchSet: 3 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Alon Bar-Lev <alonbl@redhat.com> Gerrit-Reviewer: Alon Bar-Lev <alonbl@redhat.com> Gerrit-Reviewer: Juan Hernandez <juan.hernandez@redhat.com> Gerrit-Reviewer: Moran Goldboim <mgoldboi@redhat.com> Gerrit-Reviewer: Ofer Schreiber <oschreib@redhat.com>
participants (1)
-
oschreib@redhat.com