Add rpm packaging for openflowjava and openflowpluging to buildrpm.sh.
authorSam Hague <shague@redhat.com>
Sat, 18 Jan 2014 20:29:42 +0000 (15:29 -0500)
committerSam Hague <shague@redhat.com>
Mon, 20 Jan 2014 20:30:34 +0000 (15:30 -0500)
commit18c93ffb1a929ba4d4fa5a88c9293ef19fb7cb5b
tree6b7ebbd3a903835129388eccdd895c1f8d23b7f3
parent0777f031b22b8a386d9c900eff7d3dc516e8fe4c
Add rpm packaging for openflowjava and openflowpluging to buildrpm.sh.

- remove tabs in buildrpm.sh (for real this time)
- Added openflowjava and openflowplugin to buildrpm.sh
- Reworked projects to use arrays so it is easier to add new projects in the future.
- Added mockmvn option to allow rewriting the maven command used when mock builds the rpms. This is useful to allow specifying a local .m2 cache so moc
k does not clean and reinstall between every build.
- ensure git version tags are used throughout for all projects. This ensures the src.rpm files are marked with consistent git hashes for easier reprodu
cing of a build.
- Cleaned up distribution.spec Requires to not require controller-dependencies since it is Required by the controller already.
- Removed duplicate code in dependencies.spec.

Change-Id: Ic157e168893d3f163708b44c476dc9026cb8b240
Signed-off-by: Sam Hague <shague@redhat.com>
packaging/rpm/buildrpm.sh
packaging/rpm/opendaylight-controller-dependencies.spec
packaging/rpm/opendaylight-distribution.spec