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

Re: [PATCH 3/3] The "curl" executable is no longer required

From
Johan Herland <johan@herland.net>
Date
Jun 15, 2008, 11:47 UTC
Message-ID
<200806151347.31676.johan@herland.net>
In-Reply-To
<m3fxreq60t.fsf@localhost.localdomain>
On Sunday 15 June 2008, Jakub Narebski wrote:
> "David Symonds" <dsymonds@gmail.com> writes:
> > On Sun, Jun 15, 2008 at 8:16 PM, Johan Herland <johan@herland.net> 
wrote:
Show 27 quoted lines
> > > diff --git a/git.spec.in b/git.spec.in
> > > index 97a26be..d946bb1 100644
> > > --- a/git.spec.in
> > > +++ b/git.spec.in
> > > @@ -12,7 +12,7 @@ BuildRequires:        zlib-devel >= 1.2,
> > > openssl-devel, curl-devel, expat-devel, gettex
> > >  BuildRoot:    
> > > %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
> > >
> > >  Requires:      perl-Git = %{version}-%{release}
> > > -Requires:      zlib >= 1.2, rsync, curl, less, openssh-clients,
> > > expat +Requires:      zlib >= 1.2, rsync, less, openssh-clients,
> > > expat Provides:      git-core = %{version}-%{release}
> > >  Obsoletes:     git-core <= 1.5.4.2
> > >  Obsoletes:     git-p4
> >
> > Shouldn't libcurl still be listed as a requirement? Or is it
> > statically linked?
>
> It is not necessary to enumerate simple library dependencies, as
> rpmbuild _detects_ those dependencies during building binary RPMS.
> Only unusual requirements (on programs (tools) or on specific version
> of library) are needed to be added in Requires header.
>
> This has nothing to do with BuildRequires.  Besides it worked without
> libcurl in Requires, so it should continue to work without it,
> isn't it?

Unfortunately I don't know this format at all. There are now two versions of the patch, one without "Requires: curl", and one where it's replaced by "Requires: libcurl". Someone with more RPM knowledge will have to determine which is right.

...Johan
-- 
Johan Herland, <johan@herland.net>
www.herland.net
Previous: Jakub NarebskiNext: Matthieu Moy
Message 11 of 14 in “Cleaning up INSTALL before 1.5.6”
  1. Johan HerlandJun 12, 2008
  2. 1/3 cpio is no longer used by git-cloneJohan Herland, Jun 15, 2008
  3. 2/3 Consistency: Use "libcurl" instead of "cURL library" and "curl"Johan Herland, Jun 15, 2008
  4. 3/3 The "curl" executable is no longer requiredJohan Herland, Jun 15, 2008
  5. David SymondsJun 15, 2008
  6. Johan HerlandJun 15, 2008
  7. David SymondsJun 15, 2008
  8. Matthieu MoyJun 15, 2008
  9. 3/3 The "curl" executable is no longer requiredJohan Herland, Jun 15, 2008
  10. Jakub NarebskiJun 15, 2008
  11. Johan HerlandJun 15, 2008
  12. Matthieu MoyJun 15, 2008
  13. Jakub NarebskiJun 15, 2008
  14. Johan HerlandJun 15, 2008

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.