"H. Peter Anvin" <hpa@zytor.com> said:
Show 5 quoted lines
> 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.
Show 5 quoted lines
> 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