[PATCH 3/3 v2] The "curl" executable is no longer required
git-clone.sh was the last user of the "curl" executable. Relevant git commands now use libcurl instead. This should be reflected in the install requirements.
Signed-off-by: Johan Herland <johan@herland.net>
---
On Sunday 15 June 2008, Matthieu Moy wrote:
Show 5 quoted lines
> I don't understand how that answers the question. Unless curl is
> statically linked, you need the library both at build time and at run
> time. For example, zlib-devel is needed here at build time, and zlib
> (without devel) is still in "Requires:". So, what's the difference
> between zlib and libcurl here?
You're probably right. What about this?
INSTALL | 8 ++++----
git.spec.in | 2 +-
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/INSTALL b/INSTALL
index 9888f25..4a4e13f 100644
--- a/INSTALL
+++ b/INSTALL
@@ -67,10 +67,10 @@ Issues of note:
that come with git (git includes the one from Mozilla, and has
its own PowerPC and ARM optimized ones too - see the Makefile).
- - "libcurl" and "curl" executable. git-http-fetch and
- git-fetch use them. If you do not use http
- transfer, you are probably OK if you do not have
- them.
+ - libcurl library; git-http-fetch and git-fetch use them. You
+ might also want the "curl" executable for debugging purposes.
+ If you do not use http transfer, you are probably OK if you
+ do not have them.
- expat library; git-http-push uses it for remote lock
management over DAV. Similar to "curl" above, this is optional.
diff --git a/git.spec.in b/git.spec.in
index 97a26be..fb8da85 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, libcurl, less, openssh-clients, expat
Provides: git-core = %{version}-%{release}
Obsoletes: git-core <= 1.5.4.2
Obsoletes: git-p4
--
1.5.6.rc2.128.gf64ae