From b1b5cef06fbb80896dbad6e0552d70163fd7b820 Mon Sep 17 00:00:00 2001 From: Alexander Kurtakov Date: Tue, 24 Feb 2015 09:55:21 +0200 Subject: [PATCH] Add obsoletes in core to the main package to ease updates. --- hamcrest.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/hamcrest.spec b/hamcrest.spec index c414795..56474b7 100644 --- a/hamcrest.spec +++ b/hamcrest.spec @@ -42,7 +42,7 @@ Name: hamcrest Version: 1.3 -Release: 10%{?dist} +Release: 11%{?dist} Epoch: 0 Summary: Library of matchers for building test expressions License: BSD @@ -101,6 +101,7 @@ UI validation rules. %package core Summary: Core API of hamcrest matcher framework. +Obsoletes: %{name} < 0:1.3-10 %description core The core API of hamcrest matcher framework to be used by third-party framework providers. @@ -250,6 +251,9 @@ cp -pr %{name}-examples $RPM_BUILD_ROOT%{_datadir}/%{name}/ %{_datadir}/%{name} %changelog +* Tue Feb 24 2015 Alexander Kurtakov 0:1.3-11 +- Add obsoletes in core to the main package to ease updates. + * Mon Feb 23 2015 Alexander Kurtakov 0:1.3-10 - Split hamcrest-core subpackage to allow other frameworks to reduce deps.