ktdreyer pushed to ceph (epel7). "add version numbers to Obsoletes (..more)"
notifications at fedoraproject.org
notifications at fedoraproject.org
Wed Apr 1 15:07:29 UTC 2015
>From c9a91bad2f3c3083b8dad7a1feb9f84994c2f35c Mon Sep 17 00:00:00 2001
From: Ken Dreyer <ktdreyer at ktdreyer.com>
Date: Mon, 16 Feb 2015 11:41:42 -0700
Subject: add version numbers to Obsoletes
The ceph-devel and python-ceph packages were split out, but there were
no version numbers added to the Obsoletes during the split.
This means that we obsolete packages that are far newer than us. This
impacts packages coming from upstream's "gitbuilder" system (for
example), as well as any other upstream RPMs until this package split is
done upstream.
Add version numbers to the Obsoletes. I've chosen to use a
version+release number that's lower than what we currently ship in EPEL
(0.80.7-0.4), but newer than what we shipped in the last EPEL update
(0.80.5).
diff --git a/ceph.spec b/ceph.spec
index 0105eac..35f4001 100644
--- a/ceph.spec
+++ b/ceph.spec
@@ -13,7 +13,7 @@ Name: ceph
Version: 0.80.7
# This should always be lower than 2, we do not want to update over base rhel.
# Please use 0.x if updating instead.
-Release: 0.4%{?dist}
+Release: 0.5%{?dist}
Epoch: 1
Summary: User space components of the Ceph file system
License: GPLv2
@@ -201,7 +201,7 @@ Summary: RADOS headers
Group: Development/Libraries
License: LGPL-2.0
Requires: librados2 = %{epoch}:%{version}
-Obsoletes: ceph-devel
+Obsoletes: ceph-devel < 1:0.80.7-0
%description -n librados2-devel
This package contains libraries and headers needed to develop programs
that use RADOS object store.
@@ -211,7 +211,7 @@ Summary: Python libraries for the RADOS object store
Group: System Environment/Libraries
License: LGPL-2.0
Requires: librados2 = %{epoch}:%{version}
-Obsoletes: python-ceph
+Obsoletes: python-ceph < 1:0.80.7-0
%description -n python-rados
This package contains Python libraries for interacting with Cephs RADOS
object store.
@@ -236,7 +236,7 @@ Group: Development/Libraries
License: LGPL-2.0
Requires: librbd1 = %{epoch}:%{version}
Requires: librados2-devel = %{epoch}:%{version}
-Obsoletes: ceph-devel
+Obsoletes: ceph-devel < 1:0.80.7-0
%description -n librbd1-devel
This package contains libraries and headers needed to develop programs
that use RADOS block device.
@@ -247,7 +247,7 @@ Group: System Environment/Libraries
License: LGPL-2.0
Requires: librbd1 = %{epoch}:%{version}
Requires: python-rados = %{epoch}:%{version}
-Obsoletes: python-ceph
+Obsoletes: python-ceph < 1:0.80.7-0
%description -n python-rbd
This package contains Python libraries for interacting with Cephs RADOS
block device.
@@ -272,7 +272,7 @@ Group: Development/Libraries
License: LGPL-2.0
Requires: libcephfs1 = %{epoch}:%{version}
Requires: librados2-devel = %{epoch}:%{version}
-Obsoletes: ceph-devel
+Obsoletes: ceph-devel < 1:0.80.7-0
%description -n libcephfs1-devel
This package contains libraries and headers needed to develop programs
that use Cephs distributed file system.
@@ -283,7 +283,7 @@ Group: System Environment/Libraries
License: LGPL-2.0
Requires: libcephfs1 = %{epoch}:%{version}
Requires: python-rados = %{epoch}:%{version}
-Obsoletes: python-ceph
+Obsoletes: python-ceph < 1:0.80.7-0
%description -n python-cephfs
This package contains Python libraries for interacting with Cephs distributed
file system.
@@ -886,6 +886,9 @@ ln -sf %{_libdir}/librbd.so.1 /usr/lib64/qemu/librbd.so.1
%files -n python-ceph-compat
%changelog
+* Wed Apr 01 2015 Ken Dreyer <ktdreyer at ktdreyer.com> - 1:0.80.7-0.5
+- add version numbers to Obsoletes (RHBZ #1193182)
+
* Tue Jan 20 2015 Boris Ranto <branto at redhat.com> - 1:0.80.7-0.4
- Revert the deprecation changes
- Remove release in version comparisons, base rhel packages shall update epel
--
cgit v0.10.2
http://pkgs.fedoraproject.org/cgit/ceph.git/commit/?h=epel7&id=c9a91bad2f3c3083b8dad7a1feb9f84994c2f35c
More information about the scm-commits
mailing list