Add obsoletes in core to the main package to ease updates.

This commit is contained in:
Alexander Kurtakov 2015-02-24 09:55:21 +02:00
parent 4a88f092ea
commit b1b5cef06f

View File

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