Re: [libvirt PATCH] rpm: Drop obsolete Obsoletes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Sep 06, 2023 at 11:31:10AM +0200, Andrea Bolognani wrote:
> All platforms we target come with at least libvirt 6.0.0, so
> none of the Obsoletes referring to earlier versions are useful
> at this point.

This rationale assumes that the upgrade is merely an
refresh of the current install. If a user is coming
from an earlier platform version to a modern platform
version, that original platform is likely unsupported,
but we still want the upgrade path to resolve these
obsoletes.

> Signed-off-by: Andrea Bolognani <abologna@xxxxxxxxxx>
> ---
>  libvirt.spec.in | 7 -------
>  1 file changed, 7 deletions(-)
> 
> diff --git a/libvirt.spec.in b/libvirt.spec.in
> index b471afebb1..3e68961fb9 100644
> --- a/libvirt.spec.in
> +++ b/libvirt.spec.in
> @@ -250,9 +250,6 @@ Requires: libvirt-daemon-driver-lxc = %{version}-%{release}
>  %if %{with_qemu}
>  Requires: libvirt-daemon-driver-qemu = %{version}-%{release}
>  %endif
> -# We had UML driver, but we've removed it.
> -Obsoletes: libvirt-daemon-driver-uml <= 5.0.0
> -Obsoletes: libvirt-daemon-uml <= 5.0.0
>  %if %{with_vbox}
>  Requires: libvirt-daemon-driver-vbox = %{version}-%{release}
>  %endif
> @@ -608,9 +605,6 @@ Requires: util-linux
>  # From QEMU RPMs
>  Requires: /usr/bin/qemu-img
>  %endif
> -%if !%{with_storage_rbd}
> -Obsoletes: libvirt-daemon-driver-storage-rbd < 5.2.0
> -%endif
>  Obsoletes: libvirt-daemon-driver-storage-sheepdog < 8.8.0
>  
>  %description daemon-driver-storage-core
> @@ -812,7 +806,6 @@ VirtualBox
>  Summary: Libxl driver plugin for the libvirtd daemon
>  Requires: libvirt-daemon-common = %{version}-%{release}
>  Requires: libvirt-libs = %{version}-%{release}
> -Obsoletes: libvirt-daemon-driver-xen < 4.3.0
>  
>  %description daemon-driver-libxl
>  The Libxl driver plugin for the libvirtd daemon, providing
> -- 
> 2.41.0
> 

With 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 :|




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux