Re: [PATCH] add git.spec and adapt Makefile for RPM build
From: Horst von Brand <hidden>
Date: 2016-06-15 22:41:55
Chris Wright [off-list ref] said:
* Horst von Brand (vonbrand@inf.utfsm.cl) wrote:quoted
Kay Sievers [off-list ref] said:quoted
On Mon, May 02, 2005 at 12:23:03PM +0200, Kay Sievers wrote:
quoted
quoted
This version creates the git.spec from a git.spec.in with the version number from the Makefile.
quoted
Please don't. The spec file /controls/ the building of the package, it can't be generated as part of the build process.
It certainly can.
Yep. Maybe "can't" was a bit too strong. "Should never be" is right.
It simply means a structured release process. IOW, the git.spec would be generated for a release tarball.
Come on, you have to fix the spec file for the changelog and version by hand anyway, autoconfiscating it doesn't help one iota there. And yes, I've seen quite a few packages autogenerating the spec file. As a result, you /can't/ build the package from pristine sources, you have to unpack and configure to get enough for building. For me that just isn't acceptable, as it completely misses the point of RPM. (You can go "rpmbuild -ta whatever-2.3.1.tar.bz2" if the tarball is set up correctly, your idea prevents that). -- Dr. Horst H. von Brand User #22616 counter.li.org Departamento de Informatica Fono: +56 32 654431 Universidad Tecnica Federico Santa Maria +56 32 654239 Casilla 110-V, Valparaiso, Chile Fax: +56 32 797513