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
CWChris Wright <chrisw@osdl.org>
Date
May 2, 2005, 19:08 UTC
Message-ID
<20050502190852.GH18917@shell0.pdx.osdl.net>
In-Reply-To
<200505021858.j42Iw4M1029427@laptop11.inf.utfsm.cl>
* Horst von Brand (vonbrand@inf.utfsm.cl) wrote:
Show 6 quoted lines
> Chris Wright <chrisw@osdl.org> said:
> >                   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.
That's the point, you don't _have_ to do that.
Show 7 quoted lines
> 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).

You just place the generated spec file in a release tarball. IOW, your 'release' Makefile target depends on foo.spec, and creates a clean release tarball with all you need to do an -ta build.

thanks, -chris

Previous: Paul JakmaNext: Horst von Brand
Message 4 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.