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

Re: git-core-arch: Missing dependency

From
HAH. Peter Anvin <hpa@zytor.com>
Date
Nov 12, 2005, 01:08 UTC
Message-ID
<43754083.4090501@zytor.com>
In-Reply-To
<7vu0ejm30l.fsf@assigned-by-dhcp.cox.net>
Junio C Hamano wrote:
Show 27 quoted lines
> Andreas Ericsson <ae@op5.se> writes:
> 
> 
>>Junio C Hamano wrote:
>>
>>>Horst von Brand <vonbrand@inf.utfsm.cl> writes:
>>>
>>>
>>>>The command git-archimport makes use of tla, but the relevant package(s) are
>>>>not on the requirements
>>>
>>>Thanks.  Should the fix be like this?
>>> Group:          Development/Tools
>>>-Requires:       git-core = %{version}-%{release}
>>>+Requires:       git-core = %{version}-%{release}, tla
>>
>>Just to be anal;
>>Requires doesn't usually include the %release,...
> 
> 
> Obviously both you and Chris (who did the part you are quoting
> for us) know RPM spec a lot better than I do, and I see two
> experts contradicting with each other.  It could have been just
> an oversight, or it might have done deliberately --- I cannot
> judge myself, so I punt here.  I'll remove "-%{release}" when I
> hear Chris says he agrees with you.
> 

You can do it either way. It's a matter of the strictness of the binding. If you put %{version} there, then it has to come from the same upstream release; for %{version}-%{release} it has to come from the same SRPM, i.e. usually from the same build.

In this case I think %{version}-%{release} is appropriate.
	-hpa
Previous: Junio C HamanoNext: Chris Wright
Message 5 of 6 in “git-core-arch: Missing dependency”
  1. Horst von BrandNov 11, 2005
  2. Junio C HamanoNov 11, 2005
  3. Andreas EricssonNov 11, 2005
  4. Junio C HamanoNov 11, 2005
  5. H. Peter AnvinNov 12, 2005
  6. Chris WrightNov 12, 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.