hpcc-systems/HPCC-Platform — Issue #1702: CPack package generation has issues with package spec.
Author: pschwartz
Created: 2012-02-24 21:58:21+00:00
State: open

Currently RPM and DEB packages generated with cpack are starting to show issues with file dependencies, SPEC file generation, and install script control.

The suggested method of correction is to move from automated generation of spec files to template based generation with the usage of external OS standard tools to create the package.

The most recent precursor to this is an issue with -Uvh runs on Centos 5 where it doesn't see versions of built packages as different when they are. This is causing an install conflict error response as the package manager thinks the package is a different version instead of a new package.

TODO:
- Build RPM spec and DEB control template. (single template file that can be used to generate either format).

- Build package scripts that use tools like rpm-build and dpkg-deb to build the packages instead of CPack.

- Integrate fakeroot usage to allow for unified install permissions.

- Scripts for dependency checking/automation. (Extension of cmake_modules/dependencies.)