build: Enforce spec file naming requirements

configure.py will exit with an error if a spec file's name does not
match the name of the packages it produces.

Signed-off-by: Euan Harris <euan.harris@citrix.com>
Merge pull request #4 from euanh/great-renaming

build: Enforce spec file naming requirements
configure: Handle .spec.in files in check_spec_name()

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

configure: Handle .spec.in files in check_spec_name()
configure: Don't copy .spec.in files to SPECS

Instead of copying foo.spec.in to the local SPECS directory
and preprocessing it there, read the original file and write
the processed output to SPECS.   This is much tidier.

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

configure: Don't copy .spec.in files to SPECS
rpm -U --force instead of install so we overwrite older builds

Signed-off-by: Mike McClurg <mike.mcclurg@citrix.com>
Merge pull request #7 from mcclurmc/rpm-upgrade

rpm -U --force instead of install so we overwrite older builds
Don't require rpm deps when we install newly built rpms

Signed-off-by: Mike McClurg <mike.mcclurg@citrix.com>
Add swp files to gitignore

Signed-off-by: Mike McClurg <mike.mcclurg@citrix.com>
Merge pull request #9 from mcclurmc/nodeps

Don't require rpm deps when we install newly built rpms
Merge pull request #3 from freddy77/rpm_compat

Make srpmutil compile with newer rpm library.
Revert pull request #3 - it broke the build

Signed-off-by: Jon Ludlam <jonathan.ludlam@eu.citrix.com>
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>