[boost] Add Obsoletes: for odeint package

Petr Machata pmachata at fedoraproject.org
Fri Jul 26 22:23:50 UTC 2013


commit 60a15dfc8498d713e523f3eae10272caa97b2098
Author: Petr Machata <pmachata at redhat.com>
Date:   Fri Jul 26 23:13:52 2013 +0200

    Add Obsoletes: for odeint package

 boost.spec |   17 ++++++++++++++++-
 1 files changed, 16 insertions(+), 1 deletions(-)
---
diff --git a/boost.spec b/boost.spec
index 702eb33..fea3e2e 100644
--- a/boost.spec
+++ b/boost.spec
@@ -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 at redhat.com> - 1.53.0-11
+- Add Obsoletes for odeint (bug 892850)
+
 * Thu Jul 25 2013 Deji Akingunola <dakingun at gmail.com> - 1.53.0-10
 - Add Provides and Obsoletes for the mpich2->mpich renames
 


More information about the scm-commits mailing list