Skip to content

Commit 5587cac

Browse files
committed
GIT 1.5.3.1: obsolete git-p4 in RPM spec file.
HPA noticed that yum does not like the newer git RPM set; it turns out that we do not ship git-p4 anymore but existing installations do not realize the package is gone if we do not tell anything about it. David Kastrup suggests using Obsoletes in the spec file of the new RPM to replace the old package, so here is a try. Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent 030e0e5 commit 5587cac

File tree

5 files changed

+17
-3
lines changed

5 files changed

+17
-3
lines changed

Documentation/RelNotes-1.5.3.1.txt

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
GIT v1.5.3.1 Release Notes
2+
==========================
3+
4+
Fixes since v1.5.3
5+
------------------
6+
7+
This is solely to fix the generated RPM's dependencies. We used
8+
to have git-p4 package but we do not anymore. As suggested on
9+
the mailing list, this release makes git-core "Obsolete" git-p4,
10+
so that yum update would not complain.

Documentation/git.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,10 @@ unreleased) version of git, that is available from 'master'
4343
branch of the `git.git` repository.
4444
Documentation for older releases are available here:
4545

46-
* link:v1.5.2.5/git.html[documentation for release 1.5.2.5]
46+
* link:v1.5.3/git.html[documentation for release 1.5.3]
47+
48+
* release notes for
49+
link:RelNotes-1.5.3.1.txt[1.5.3.1].
4750

4851
* release notes for
4952
link:RelNotes-1.5.2.5.txt[1.5.2.5],

GIT-VERSION-GEN

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/sh
22

33
GVF=GIT-VERSION-FILE
4-
DEF_VER=v1.5.3.GIT
4+
DEF_VER=v1.5.3.1.GIT
55

66
LF='
77
'

RelNotes

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Documentation/RelNotes-1.5.3.txt
1+
Documentation/RelNotes-1.5.3.1.txt

git.spec.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ This is a dummy package which brings in all subpackages.
2525
Summary: Core git tools
2626
Group: Development/Tools
2727
Requires: zlib >= 1.2, rsync, curl, less, openssh-clients, expat
28+
Obsoletes: git-p4
2829
%description core
2930
Git is a fast, scalable, distributed revision control system with an
3031
unusually rich command set that provides both high-level operations

0 commit comments

Comments
 (0)