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>
James Bowes committed
Jan 6, 2008 at 12:35 UTC
42616335479fe4852307acdb185e27c09188642c
1 file changed
+12
-1
git.spec.in
+12
-1
@@ -10,7 +10,15 @@ URL: http://kernel.org/pub/software/scm/git/
10
Source: http://kernel.org/pub/software/scm/git/%{name}-%{version}.tar.gz
11
BuildRequires: zlib-devel >= 1.2, openssl-devel, curl-devel, expat-devel %{!?_without_docs:, xmlto, asciidoc > 6.0.3}
12
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
13
-Requires: git-core, git-svn, git-cvs, git-arch, git-email, gitk, git-gui, perl-Git
13
+
14
+Requires: git-core = %{version}-%{release}
15
+Requires: git-svn = %{version}-%{release}
16
+Requires: git-cvs = %{version}-%{release}
17
+Requires: git-arch = %{version}-%{release}
18
+Requires: git-email = %{version}-%{release}
19
+Requires: gitk = %{version}-%{release}
20
+Requires: git-gui = %{version}-%{release}
21
+Requires: perl-Git = %{version}-%{release}
22
23
%description
24
Git is a fast, scalable, distributed revision control system with an
@@ -172,6 +180,9 @@ rm -rf $RPM_BUILD_ROOT
180
%{!?_without_docs: %doc Documentation/technical}
181
182
%changelog
183
+* Sun Jan 06 2008 James Bowes <jbowes@dangerouslyinc.com>
184
+- Make the metapackage require the same version of the subpackages.
185
+
186
* Wed Dec 12 2007 Junio C Hamano <gitster@pobox.com>
187
- Adjust htmldir to point at /usr/share/doc/git-core-$version/
188