Merge pull request #23 from euanh/planexsc

Planexsc
install: Fix undefined variable pylint error

Signed-off-by: Euan Harris <euan.harris@citrix.com>
install: Fix pylint warnings

Signed-off-by: Euan Harris <euan.harris@citrix.com>
configure: Fix remaining pylint warnings

Signed-off-by: Euan Harris <euan.harris@citrix.com>
build: Check subprocess return codes

Pointed out (indirectly) by pylint's unused variable warning.

Signed-off-by: Euan Harris <euan.harris@citrix.com>
build: Extract SRPM build logic into a function

Signed-off-by: Euan Harris <euan.harris@citrix.com>
build: Fix more pylint whitespace warnings

Signed-off-by: Euan Harris <euan.harris@citrix.com>
build: Fix pylint variable name warnings

Signed-off-by: Euan Harris <euan.harris@citrix.com>
build: Remove srpmutil

The native Python RPM library in CentOS 6.4 works so we don't need
srpmutil any more.

Signed-off-by: Euan Harris <euan.harris@citrix.com>
build: Switch from deprecated md5 to hashlib

Signed-off-by: Euan Harris <euan.harris@citrix.com>
install: Remove demjson

Since Python 2.6, the standard library has included
a json module based on simplejson

Signed-off-by: Euan Harris <euan.harris@citrix.com>