Code

Change RPM dependency from Prereq to Requires.
authorJunio C Hamano <junkio@cox.net>
Mon, 8 Aug 2005 22:03:39 +0000 (15:03 -0700)
committerJunio C Hamano <junkio@cox.net>
Mon, 8 Aug 2005 22:03:39 +0000 (15:03 -0700)
Sergey Vlasov says we do not pre-require (i.e. required packages
during installation) the dependencies, and should use Requires
instead of Prereq.  Knowing nothing about RPM, I just believe
him.

Signed-off-by: Junio C Hamano <junkio@cox.net>
git-core.spec.in

index 397be8540cc0123eccb41801209b3f52e34bfd62..8f079dbb59c84c3023b2fad26c8cd38066afd35b 100644 (file)
@@ -10,7 +10,7 @@ URL:          http://kernel.org/pub/software/scm/git/
 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
-Prereq:        sh-utils, diffutils, rsync, rcs, mktemp >= 1.5
+Requires:      sh-utils, diffutils, rsync, rcs, mktemp >= 1.5
 
 %description
 This is a stupid (but extremely fast) directory content manager.  It