# Re: [PATCH 0/3] cogito spec file updates

3 messages from 2005-05-04 to 2005-09-19. Participants: Horst von Brand, H. Peter Anvin.
Thread: https://gitlist.dev/t/475

## Horst von Brand, 2005-05-04 14:54

Subject: Re: [PATCH 0/3] cogito spec file updates
Message-ID: <200505041454.j44Eslpg004032@laptop11.inf.utfsm.cl>
URL: https://gitlist.dev/e/200505041454.j44Eslpg004032%40laptop11.inf.utfsm.cl
In-Reply-To: <hpa@zytor.com>

```
"H. Peter Anvin" <hpa@zytor.com> said:
> Petr Baudis wrote:
> > I wouldn't accept this neither. If git.spec is already version
> > controlled, it should be up-to-date in the version control. Therefore,
> > you need to update it at the time of release, not at the time of
> > generating the tarball.

> What I usually do is to have a *.spec.in file, and have my release 
> script generate the *.spec file.  I usually have a "version" file 
> checked into the SCM from which all version information derives, 
> including what to put in the *.spec file as well as what to name the 
> subdirectory.

Right. Note that this is /not/ autoconfiguring .spec from .spec.in, you are
"just" automating the process I do by hand.
-- 
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

```

## H. Peter Anvin, 2005-05-04 15:01

Subject: Re: [PATCH 0/3] cogito spec file updates
Message-ID: <4278E3E2.3010001@zytor.com>
URL: https://gitlist.dev/e/4278E3E2.3010001%40zytor.com
In-Reply-To: <200505041454.j44Eslpg004032@laptop11.inf.utfsm.cl>

```
Horst von Brand wrote:
> "H. Peter Anvin" <hpa@zytor.com> said:
> 
>>Petr Baudis wrote:
>>
>>>I wouldn't accept this neither. If git.spec is already version
>>>controlled, it should be up-to-date in the version control. Therefore,
>>>you need to update it at the time of release, not at the time of
>>>generating the tarball.
> 
> 
>>What I usually do is to have a *.spec.in file, and have my release 
>>script generate the *.spec file.  I usually have a "version" file 
>>checked into the SCM from which all version information derives, 
>>including what to put in the *.spec file as well as what to name the 
>>subdirectory.
> 
> Right. Note that this is /not/ autoconfiguring .spec from .spec.in, you are
> "just" automating the process I do by hand.

Right, the .spec.in here doesn't imply the use of autoconf.

(That being said, if you *are* using autoconf, the "make release" target 
is also a good place to produce the autoconf generated files, being just 
another class of autogenerated-but-should-be-in-the-tarball files.)

	-hpa

```

## Horst von Brand, 2005-09-19 21:58

Subject: Re: Garbage in .git directories???
Message-ID: <200509192158.j8JLwiFY029891@inti.inf.utfsm.cl>
URL: https://gitlist.dev/e/200509192158.j8JLwiFY029891%40inti.inf.utfsm.cl
In-Reply-To: <hpa@zytor.com>

```
H. Peter Anvin <hpa@zytor.com> wrote:

[...]

> FWIW, using cg-clone (using git-core 0.99.6 and cogito 0.14.1) I keep
> finding a directory in .git which consists of a single DEL character
> (\177).

Using latest cogito (0.15 63ef5488c38b6660c72f042d4aa3015d72a3bd28) +
latest git (0.99.7), cloning locally I don't see that. My older
repositories (cloned over the net at various times or made locally) don't
show it either.
-- 
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

```
