Make srpmutil compile with newer rpm library.

Define _RPM_4_4_COMPAT in order to get some old types and declaration.
Change epoch from char* to uint32_t.
Remove some unused variables.

Signed-off-by: Frediano Ziglio <frediano.ziglio@citrix.com>
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>
Merge pull request #11 from freddy77/rpm_compat

Make srpmutil compile with newer rpm library.
Add rpm level caching

Signed-off-by: Jon Ludlam <jonathan.ludlam@eu.citrix.com>
Fixes for the RPM caching branch

Signed-off-by: Jon Ludlam <jonathan.ludlam@eu.citrix.com>
Add mock config files (currently unused by default)

Also fix a problem that occurs if the SOURCES directory
does not exist

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

Rpmcache2
Don't put repodata into the build system output directory

This appears to break the phase-3 build

Signed-off-by: Jon Ludlam <jonathan.ludlam@eu.citrix.com>
Merge pull request #13 from jonludlam/fix-phase-3

Don't put repodata into the build system output directory
Make installable using Python distutils
Use installed planex executables in build system

Signed-off-by: Si Beaumont <simon.beaumont@citrix.com>