Make srpmutil compile with newer rpm library.

Define _RPM_4_4_COMPAT in order to get some old types and declaration.
Remove some unused variables.

Signed-off-by: Frediano Ziglio <frediano.ziglio@citrix.com>
Merge branch 'master' of git://hg.uk.xensource.com/carbon/trunk/planex
Merge commit '0dcb7946b7a8212051a6f3b9d723546f990e9e17'
Fixes to be able to build outside of the build system

Signed-off-by: Jon Ludlam <jonathan.ludlam@eu.citrix.com>
Merge pull request #20 from jonludlam/non-xs-build-fixes

Fixes to be able to build outside of the build system
Merge branch 'master' of git://hg.uk.xensource.com/carbon/trunk-ring0/planex
Merge branch 'master' of git://hg.uk.xensource.com/carbon/trunk/planex
Merge commit 'c3ccc4814ec2027b4b8b8f565bb5ba4f9ec3baa1'
Minor fixes for making planex work locally

Signed-off-by: Jon Ludlam <jonathan.ludlam@eu.citrix.com>
Merge pull request #22 from jonludlam/local-fixes

Staging fixes for planex
Merge commit '97bb5b1a983448ed6726be4421405d35ae067086'
Merge branch 'master' of git://hg/carbon/trunk/planex
configure: Fix pylint warnings

Signed-off-by: Euan Harris <euan.harris@citrix.com>
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>
Merge pull request #24 from euanh/planexsc

Another batch of trivial pylint warning fixes
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>