[hamcrest] Add obsoletes in core to the main package to ease updates.

Alexander Kurtakov akurtakov at fedoraproject.org
Tue Feb 24 07:55:26 UTC 2015


commit b1b5cef06fbb80896dbad6e0552d70163fd7b820
Author: Alexander Kurtakov <akurtako at redhat.com>
Date:   Tue Feb 24 09:55:21 2015 +0200

    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 <akurtako at redhat.com> 0:1.3-11
+- Add obsoletes in core to the main package to ease updates.
+
 * Mon Feb 23 2015 Alexander Kurtakov <akurtako at redhat.com> 0:1.3-10
 - Split hamcrest-core subpackage to allow other frameworks to reduce deps.
 


More information about the scm-commits mailing list