threads / patch / 1779

patchThere are several undocumented dependencies

Subject: [PATCH] There are several undocumented dependencies

## tl;dr

2 messages between Sep 12, 2005 and Sep 12, 2005. Diffs are folded; open one to read it.

replies: 1people: 2as markdown or json

Horst von Brand· Sep 12, 2005, 00:00 UTC · lore

There are several undocumented dependencies in the .spec and in the INSTALL files. The following is from Fedora, perhaps other RPM distributions call the packages differently.

Also, the manpages aren't always installed gzipped.
Updates to git-core.spec.in file:
 - Some git scripts use Perl
 - gitk needs wish, which is part of TCL/Tk.
 - curl is used all over
 - Need the ssh program from openssh-clients
Updates to INSTALL:
 - Mention wish
 - Mention ssh
Signed-off-by: Horst H. von Brand <vonbrand@inf.utfsm.cl>
---
 INSTALL          |    5 +++++
 git-core.spec.in |   12 ++++++++----
 2 files changed, 13 insertions(+), 4 deletions(-)
0a0c8b97bcab58e2b70c0eb76a83bd7c5b6fd1bc
Show changes to 2 files +13 −4

INSTALL, git-core.spec.in

diff --git a/INSTALL b/INSTALL
--- a/INSTALL
+++ b/INSTALL
@@ -64,3 +64,8 @@ Issues of note:
 	  You'll only need the merge program if you do development using
 	  git, and if you only use git to track other peoples work you'll
 	  never notice the lack of it. 
+
+        - "wish", the TCL/Tk windowing shell is used in gitk to show the
+          history graphically
+
+	- "ssh" is used to push and pull over the net
diff --git a/git-core.spec.in b/git-core.spec.in
--- a/git-core.spec.in
+++ b/git-core.spec.in
@@ -2,7 +2,7 @@
 Name: 		git-core
 Version: 	@@VERSION@@
 Release: 	1
-Vendor: 	Junio C Hamano <junkio@cox.net>
+Vendor: 	Junio C. Hamano <junkio@cox.net>
 Summary:  	Git core and tools
 License: 	GPL
 Group: 		Development/Tools
@@ -10,7 +10,7 @@ URL: 		http://kernel.org/pub/software/sc
 Source: 	http://kernel.org/pub/software/scm/git/%{name}-%{version}.tar.gz
 BuildRequires:	zlib-devel, openssl-devel, curl-devel  %{!?_without_docs:, xmlto, asciidoc > 6.0.3}
 BuildRoot:	%{_tmppath}/%{name}-%{version}-root
-Requires: 	sh-utils, diffutils, rsync, rcs, python >= 2.4
+Requires: 	sh-utils, curl, diffutils, rsync, rcs, openssh-clients, perl, python >= 2.4, tk
 
 %description
 This is a stupid (but extremely fast) directory content manager.  It
@@ -40,10 +40,14 @@ rm -rf $RPM_BUILD_ROOT
 %{_datadir}/git-core/templates/*
 %doc README COPYING Documentation/*.txt
 %{!?_without_docs: %doc Documentation/*.html }
-%{!?_without_docs: %{_mandir}/man1/*.1.gz}
-%{!?_without_docs: %{_mandir}/man7/*.7.gz}
+%{!?_without_docs: %{_mandir}/man1/*.1*}
+%{!?_without_docs: %{_mandir}/man7/*.7*}
 
 %changelog
+* Sun Sep 11 2005 Horst H. von Brand <vonbrand@inf.utfsm.cl>
+- Updated dependencies
+- Don't assume manpages are gzipped
+
 * Sun Aug 07 2005 Horst H. von Brand <vonbrand@inf.utfsm.cl>
 - Redid the description
 - Cut overlong make line, loosened changelog a bit
-- 
Dr. Horst H. von Brand                   User #22616 counter.li.org
Departamento de Informatica                     Fono: +56 32 654431
Universidad Tecnica Federico Santa Maria              +56 32 654239
Casilla 110-V, Valparaiso, Chile                Fax:  +56 32 797513
Junio C Hamano· Sep 12, 2005, 06:16 UTC · re: Horst von Brand · lore

Re: [PATCH] There are several undocumented dependencies

Horst von Brand <vonbrand@inf.utfsm.cl> writes:
> There are several undocumented dependencies in the .spec and in the
> INSTALL files. The following is from Fedora, perhaps other RPM
> distributions call the packages differently.

Thanks. Earlier, I was told that it does not make much sense to target for RPM based distributions in general because of the package naming issue you mention here, and explicitly targetting for Fedora is fine by me.

← back to recent threads