aboutsummaryrefslogtreecommitdiff
path: root/git.spec.in
diff options
context:
space:
mode:
authorJames Bowes <jbowes@dangerouslyinc.com>2008-01-06 12:35:02 -0500
committerJunio C Hamano <gitster@pobox.com>2008-01-06 18:41:44 -0800
commit42616335479fe4852307acdb185e27c09188642c (patch)
treeb0e166169e04ac4cc4d4221cc974da49809b3a35 /git.spec.in
parent64cc1c0909949fa2866ad71ad2d1ab7ccaa673d9 (diff)
downloadgit-42616335479fe4852307acdb185e27c09188642c.tar.gz
git-42616335479fe4852307acdb185e27c09188642c.tar.xz
Make the git metapackage require the same version of the subpackages.
Without explicit version deps in the rpm spec file, 'yum update git' effectively does nothing. Require explicit versions of the subpackages, so that they get pulled in on an update. Signed-off-by: James Bowes <jbowes@dangerouslyinc.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git.spec.in')
-rw-r--r--git.spec.in13
1 files changed, 12 insertions, 1 deletions
diff --git a/git.spec.in b/git.spec.in
index 3e5bebba0..78968583e 100644
--- a/git.spec.in
+++ b/git.spec.in
@@ -10,7 +10,15 @@ URL: http://kernel.org/pub/software/scm/git/
Source: http://kernel.org/pub/software/scm/git/%{name}-%{version}.tar.gz
BuildRequires: zlib-devel >= 1.2, openssl-devel, curl-devel, expat-devel %{!?_without_docs:, xmlto, asciidoc > 6.0.3}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-Requires: git-core, git-svn, git-cvs, git-arch, git-email, gitk, git-gui, perl-Git
+
+Requires: git-core = %{version}-%{release}
+Requires: git-svn = %{version}-%{release}
+Requires: git-cvs = %{version}-%{release}
+Requires: git-arch = %{version}-%{release}
+Requires: git-email = %{version}-%{release}
+Requires: gitk = %{version}-%{release}
+Requires: git-gui = %{version}-%{release}
+Requires: perl-Git = %{version}-%{release}
%description
Git is a fast, scalable, distributed revision control system with an
@@ -172,6 +180,9 @@ rm -rf $RPM_BUILD_ROOT
%{!?_without_docs: %doc Documentation/technical}
%changelog
+* Sun Jan 06 2008 James Bowes <jbowes@dangerouslyinc.com>
+- Make the metapackage require the same version of the subpackages.
+
* Wed Dec 12 2007 Junio C Hamano <gitster@pobox.com>
- Adjust htmldir to point at /usr/share/doc/git-core-$version/