From a8686d833c0fb28108b7b73fe4e2f74af37f9f33 Mon Sep 17 00:00:00 2001 From: Vincent Batts Date: Thu, 19 Mar 2015 10:12:49 -0400 Subject: [PATCH] obsolete packages for upgrade path Signed-off-by: Vincent Batts --- golang.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/golang.spec b/golang.spec index c47a6c7..33cff31 100644 --- a/golang.spec +++ b/golang.spec @@ -40,7 +40,7 @@ Name: golang Version: 1.4.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: The Go Programming Language License: BSD @@ -74,6 +74,10 @@ Obsoletes: %{name}-docs < 1.1-4 # RPM can't handle symlink -> dir with subpackages, so merge back Obsoletes: %{name}-data < 1.1.1-4 +# go1.4 deprecates a few packages +Obsoletes: %{name}-vim < 1.4 +Obsoletes: emacs-%{name} < 1.4 + # These are the only RHEL/Fedora architectures that we compile this package for ExclusiveArch: %{go_arches} @@ -735,6 +739,9 @@ fi %changelog +* Wed Mar 18 2015 Vincent Batts - 1.4.2-2 +- obsoleting deprecated packages + * Wed Feb 18 2015 Vincent Batts - 1.4.2-1 - updating to go1.4.2