Bug #57175 MySQL source tarballs should include generated spec file
Submitted: 1 Oct 2010 14:13 Modified: 3 Mar 2011 22:13
Reporter: Jonathan Perkin Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Packaging Severity:S4 (Feature request)
Version: OS:Any
Assigned to: Hery Ramilison CPU Architecture:Any

[1 Oct 2010 14:13] Jonathan Perkin
Description:
We should include a generated RPM spec file in the source tarballs we provide, this will make it much easier for users to be able to build.

Currently they have to unpack the source, run 'cmake', then use the generated file.

Let's just do that during bootstrap.

How to repeat:
N/A

Suggested fix:
If the only changes in the generated spec file compared to the original are the insertion of version numbers then it should be done internally with 'make dist'.

If there is any additional stuff generated, then we should do it separately, make sure those bits are generic, then insert it manually.