git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
Horst von Brand <vonbrand@inf.utfsm.cl>
Date
May 2, 2005, 18:58 UTC
Message-ID
<200505021858.j42Iw4M1029427@laptop11.inf.utfsm.cl>
In-Reply-To
<chrisw@osdl.org>
Chris Wright <chrisw@osdl.org> said:
> * 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:
> > > 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.
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
Next: Paul Jakma
Message 1 of 8 in “Re: [PATCH] add git.spec and adapt Makefile for RPM build”
  1. Horst von BrandMay 2, 2005
  2. Paul JakmaMay 2, 2005
  3. Paul JakmaMay 2, 2005
  4. Chris WrightMay 2, 2005
  5. Horst von BrandMay 4, 2005
  6. Horst von BrandSep 16, 2005
  7. Update cogito.spec.inChris Wright, Sep 16, 2005
  8. cogito: Fix rpm build for 64bit platformsChris Wright, Sep 18, 2005

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.