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

Re: [PATCH] Small script to patch .spec for Suse

From
Petr Baudis <pasky@suse.cz>
Date
Nov 15, 2005, 21:59 UTC
Message-ID
<20051115215943.GW30496@pasky.or.cz>
In-Reply-To
<437A46E4.5010909@zytor.com>

Dear diary, on Tue, Nov 15, 2005 at 09:36:52PM CET, I got a letter where "H. Peter Anvin" <hpa@zytor.com> said that...

Show 12 quoted lines
> Junio C Hamano wrote:
> >
> >I've applied the patch from HPA to update it to git.spec already
> >in my tree, so your script would not work any more ;-)
> >
> >But seriously, I suspect we should take a hint from the fact
> >that "git.spec.in" has ".in" in its name already.
> >
> 
> I'd prefer to have just @@OPENSSH_PACKAGE@@ and @@EXPAT_PACKAGE@@ 
> instead of completely virtualizing the dependencies.  Less flexible to 
> be sure, but it makes it less confusing to read and fix.

Actually, can you have some kind of %if in specfiles? Then you could keep everything in the specfile and just pass it whatever system you want to build for.

-- 
				Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
VI has two modes: the one in which it beeps and the one in which
it doesn't.
Previous: Andreas EricssonNext: H. Peter Anvin
Message 6 of 11 in “Small script to patch .spec for Suse”
  1. Small script to patch .spec for SuseJosef Weidendorfer, Nov 15, 2005
  2. Junio C HamanoNov 15, 2005
  3. H. Peter AnvinNov 15, 2005
  4. Junio C HamanoNov 15, 2005
  5. Andreas EricssonNov 15, 2005
  6. Petr BaudisNov 15, 2005
  7. H. Peter AnvinNov 15, 2005
  8. Josef WeidendorferNov 16, 2005
  9. H. Peter AnvinNov 18, 2005
  10. A Large Angry SCMNov 18, 2005
  11. H. Peter AnvinNov 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.