makemake: Fix Pylint naming warnings

Signed-off-by: Euan Harris <euan.harris@citrix.com>
makemake: Separate toplevel code into functions

Signed-off-by: Euan Harris <euan.harris@citrix.com>
makemake: Switch from os.listdir() to glob.glob() to read SPEC dir

Signed-off-by: Euan Harris <euan.harris@citrix.com>
makemake: Remove some unnecessary duplicate iterations over the specs

Signed-off-by: Euan Harris <euan.harris@citrix.com>
makemake: Remove further unnecessary traversals of the spec list

This change substantially alters the order in which rules appear
in the Makefile.

Signed-off-by: Euan Harris <euan.harris@citrix.com>
makemake: Extract package name to RPM name mapping into functions

This reintroduces an extra traversal over the specs, but this whole
mess should go away shortly.

Signed-off-by: Euan Harris <euan.harris@citrix.com>
makemake: Start on a test suite

Signed-off-by: Euan Harris <euan.harris@citrix.com>
makemake: Regenerate dependencies automatically in the makefile

makemake.py is now known as specdep.py

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

Refactor and tidy up Makefile / dependency generation