[libvirt] [PATCH 2/2] spec: Adjust librbd / librados dependency names

Fabiano Fidêncio posted 2 patches 6 years, 2 months ago
[libvirt] [PATCH 2/2] spec: Adjust librbd / librados dependency names
Posted by Fabiano Fidêncio 6 years, 2 months ago
librbd1-devel and librados2-devel have their package name changed to
librbd-devel and librados-devel on all the supported Fedora versions and
CentOS / RHEL 8.

For more info about this change, please, refer to the following page:
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html-single/considerations_in_adopting_rhel_8/index

Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com>
---
 libvirt.spec.in | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/libvirt.spec.in b/libvirt.spec.in
index 2b2761674c..42ef43aa11 100644
--- a/libvirt.spec.in
+++ b/libvirt.spec.in
@@ -335,9 +335,14 @@ BuildRequires: device-mapper-devel
 # For XFS reflink clone support
 BuildRequires: xfsprogs-devel
 %if %{with_storage_rbd}
+%if 0%{?fedora} || 0%{?rhel} > 7
+BuildRequires: librados-devel
+BuildRequires: librbd-devel
+%else
 BuildRequires: librados2-devel
 BuildRequires: librbd1-devel
 %endif
+%endif
 %if %{with_storage_gluster}
 BuildRequires: glusterfs-api-devel >= 3.4.1
 BuildRequires: glusterfs-devel >= 3.4.1
-- 
2.23.0

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
Re: [libvirt] [PATCH 2/2] spec: Adjust librbd / librados dependency names
Posted by Daniel P. Berrangé 6 years, 2 months ago
On Sat, Dec 07, 2019 at 04:43:37PM +0100, Fabiano Fidêncio wrote:
> librbd1-devel and librados2-devel have their package name changed to
> librbd-devel and librados-devel on all the supported Fedora versions and
> CentOS / RHEL 8.
> 
> For more info about this change, please, refer to the following page:
> https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html-single/considerations_in_adopting_rhel_8/index
> 
> Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com>
> ---
>  libvirt.spec.in | 5 +++++
>  1 file changed, 5 insertions(+)

Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>


Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list