Add Obsoletes: for odeint package

This commit is contained in:
Petr Machata 2013-07-26 23:13:52 +02:00
parent dc683c9132
commit 60a15dfc84
1 changed files with 16 additions and 1 deletions

View File

@ -34,7 +34,7 @@ Name: boost
Summary: The free peer-reviewed portable C++ source libraries
Version: 1.53.0
%define version_enc 1_53_0
Release: 10%{?dist}
Release: 11%{?dist}
License: Boost and MIT and Python
%define toplev_dirname %{name}_%{version_enc}
@ -443,6 +443,14 @@ Requires: boost = %{version}-%{release}
Provides: boost-python-devel = %{version}-%{release}
Requires: libicu-devel%{?_isa}
# Odeint was shipped in Fedora 18, but later became part of Boost.
# Note we also obsolete odeint-doc down there.
# https://bugzilla.redhat.com/show_bug.cgi?id=892850
Provides: odeint = 2.2-4
Obsoletes: odeint < 2.2-4
Provides: odeint-devel = 2.2-4
Obsoletes: odeint-devel < 2.2-4
%description devel
Headers and shared object symbolic links for the Boost C++ libraries.
@ -464,6 +472,10 @@ BuildArch: noarch
%endif
Provides: boost-python-docs = %{version}-%{release}
# See the description above.
Provides: odeint-doc = 2.2-4
Obsoletes: odeint-doc < 2.2-4
%description doc
This package contains the documentation in the HTML format of the Boost C++
libraries. The documentation provides the same content as that on the Boost
@ -1233,6 +1245,9 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/man1/bjam.1*
%changelog
* Fri Jul 26 2013 Petr Machata <pmachata@redhat.com> - 1.53.0-11
- Add Obsoletes for odeint (bug 892850)
* Thu Jul 25 2013 Deji Akingunola <dakingun@gmail.com> - 1.53.0-10
- Add Provides and Obsoletes for the mpich2->mpich renames