Update rpm build scripts and README
authorBrenden Blanco <bblanco@plumgrid.com>
Fri, 19 Feb 2016 22:42:22 +0000 (14:42 -0800)
committerBrenden Blanco <bblanco@plumgrid.com>
Mon, 22 Feb 2016 07:48:29 +0000 (23:48 -0800)
commit4fb18607312d810f26cea2273c59a221708116d5
tree8abc2e67e244436926cca53013c57f5d9bd09976
parentdb45465531d41308d128f9e93149fc9cf417fcf3
Update rpm build scripts and README

Remove the unused Dockerfiles.

Create two flavors of spec files, one which includes steps to build
clang from source and link against it, and one which assumes clang is
already available and just builds bcc. The former is more appropriate
for official packaging, the latter for nightly and quick builds.

Also, introduce a numbering scheme for nightly rpm files. The format
will be:
`libbcc-$latest_git_tag-g$latest_git_hash.x86_64.rpm`
as in:
`libbcc-0.1.7-g73c4d1a.x86_64.rpm`

Update the INSTALL.md to mention the RPMs

Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
17 files changed:
INSTALL.md
SPECS/Dockerfile.el6 [deleted file]
SPECS/Dockerfile.el6.in [deleted file]
SPECS/Dockerfile.el7 [deleted file]
SPECS/Dockerfile.el7.in [deleted file]
SPECS/Dockerfile.f22 [deleted file]
SPECS/Dockerfile.f22.in [deleted file]
SPECS/Dockerfile.fedora [new file with mode: 0644]
SPECS/bcc+clang.spec [moved from SPECS/bcc.f22.spec.in with 57% similarity]
SPECS/bcc.el6.spec [deleted file]
SPECS/bcc.el6.spec.in [deleted file]
SPECS/bcc.el7.spec [deleted file]
SPECS/bcc.el7.spec.in [deleted file]
SPECS/bcc.f22.spec [deleted file]
SPECS/bcc.spec
scripts/build-release-rpm.sh [new file with mode: 0755]
scripts/build-rpm.sh