Makefile: Use $(DIST) variable

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

Signed-off-by: Euan Harris <euan.harris@citrix.com>
Merge pull request #375 from euanh/spec-wrapper

Small fixes
xcp-python-libs: Switch to upstream source

Signed-off-by: Euan Harris <euan.harris@citrix.com>
linux-guest-loader: Switch to upstream source

Signed-off-by: Euan Harris <euan.harris@citrix.com>
Merge pull request #376 from euanh/spec-wrapper

Spec wrapper
Makefile: Combine the build rules for x86_64 and noarch RPMs

Signed-off-by: Euan Harris <euan.harris@citrix.com>
Merge pull request #377 from euanh/build-improvements

Makefile: Combine the build rules for x86_64 and noarch RPMs
gitignore: Add *.tar.bz2 and .coverage

Signed-off-by: Euan Harris <euan.harris@citrix.com>
Merge pull request #378 from euanh/spec-wrapper

gitignore: Add *.tar.bz2 and .coverage
Pkg: Check that specfile name matches package when loading spec

We only check the first part of the filename, so filenames
such as 'foo.spec.in', which must be preprocessed before use,
will be accepted.

Signed-off-by: Euan Harris <euan.harris@citrix.com>
Merge pull request #379 from euanh/spec-wrapper

Pkg: Check that specfile name matches package when loading spec
Tests: Copy test spec file to the tests directory

Signed-off-by: Euan Harris <euan.harris@citrix.com>
Merge pull request #380 from euanh/spec-wrapper

Tests: Copy test spec file to the tests directory
specdep: Fix Pylint warnings

Signed-off-by: Euan Harris <euan.harris@citrix.com>
test_specdep: Fix Pylint line length warnings

Signed-off-by: Euan Harris <euan.harris@citrix.com>
test_pkg: Rename tests/SPECS to tests/data

Signed-off-by: Euan Harris <euan.harris@citrix.com>
test_pkg: Use unittest's assertEqual() instead of plain assert

Signed-off-by: Euan Harris <euan.harris@citrix.com>
Merge pull request #381 from euanh/spec-wrapper

Fix pylint warnings in tests
test_pkg: Disable name warning for Debian suite's setUp method

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