Refactor RPM spec file to support multi versions 50/26750/2
authorDaniel Farrell <dfarrell@redhat.com>
Wed, 9 Sep 2015 22:12:07 +0000 (18:12 -0400)
committerDaniel Farrell <dfarrell@redhat.com>
Fri, 11 Sep 2015 22:08:38 +0000 (18:08 -0400)
commit4f56d70b588f66355c7e9b998b65d6f65df340a6
tree083ba0634f209fbecdfae49654cbf185fba30802
parentad37bf1cf9b57d63c32381d5c7f4abbad814e772
Refactor RPM spec file to support multi versions

Extract all version-related information to macros that can be overridden
from outside the spec file. This makes the spec file usable for multiple
versions of ODL RPMs, simply by passing different variables from build
scripts.

Change-Id: Ie4ff490a86f4a691b0db32e3cdadc76d0286af0f
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
rpm/opendaylight.spec