On 03/18/2011 02:45 AM, Buchan Milne wrote:
Unfortunately, there are some problems with the spec file supplied. While they should not be issues for users, the resulting packages won't pass most distributions package quality checks.
I ran into another when working on a spec file for centos 5 (which I sent to the xymon-devel list with the hope of working with others to create a single, community approved & used rpm spec file). If you build the RPMs on an x86_64 system, /usr/lib64 is used for the filepaths in the RPMs instead of /usr/lib and this breaks the hardcoded /usr/lib paths in the init scripts.
I think we should work towards creating a new spec file that will produce a SRPM and RPMs that build cleanly in any arch, in any Redhat flavored environment.
Tom