# Re: [PATCH] add git.spec and adapt Makefile for RPM build

2 messages from 2005-05-02 to 2005-05-02. Participants: Horst von Brand, Chris Wright.
Thread: https://gitlist.dev/t/440

## Horst von Brand, 2005-05-02 17:41

Subject: Re: [PATCH] add git.spec and adapt Makefile for RPM build
Message-ID: <200505021741.j42HfUZx013620@laptop11.inf.utfsm.cl>
URL: https://gitlist.dev/e/200505021741.j42HfUZx013620%40laptop11.inf.utfsm.cl
In-Reply-To: <kay.sievers@vrfy.org>

```
Kay Sievers <kay.sievers@vrfy.org> said:
> On Mon, May 02, 2005 at 12:23:03PM +0200, Kay Sievers wrote:
> > Add support for building the rpm package directly from the git tree.
> 
> This version creates the git.spec from a git.spec.in with the version
> number from the Makefile.

Please don't. The spec file /controls/ the building of the package, it can't
be generated as part of the build process.
-- 
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

```

## Chris Wright, 2005-05-02 18:39

Subject: Re: [PATCH] add git.spec and adapt Makefile for RPM build
Message-ID: <20050502183902.GD5324@shell0.pdx.osdl.net>
URL: https://gitlist.dev/e/20050502183902.GD5324%40shell0.pdx.osdl.net
In-Reply-To: <200505021741.j42HfUZx013620@laptop11.inf.utfsm.cl>

```
* Horst von Brand (vonbrand@inf.utfsm.cl) wrote:
> Kay Sievers <kay.sievers@vrfy.org> said:
> > On Mon, May 02, 2005 at 12:23:03PM +0200, Kay Sievers wrote:
> > > Add support for building the rpm package directly from the git tree.
> > 
> > This version creates the git.spec from a git.spec.in with the version
> > number from the Makefile.
> 
> 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.  It simply means a structured release process.  IOW,
the git.spec would be generated for a release tarball.

thanks,
-chris

```
