rpm: fix mingw obsoletes lines

The package is mistakenly obsoleting itself, when it should be
obsoleting the -static packages we dropped.

Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
Daniel P. Berrangé 2021-08-02 11:52:51 +01:00
parent 77f7067059
commit 39ed30d4a1

View File

@ -69,7 +69,7 @@ MinGW Windows libvirt virtualization library.
# Mingw32 # Mingw32
%package -n mingw32-libvirt %package -n mingw32-libvirt
Summary: %{summary} Summary: %{summary}
Obsoletes: mingw32-libvirt < 7.0.0 Obsoletes: mingw32-libvirt-static < 7.0.0
%description -n mingw32-libvirt %description -n mingw32-libvirt
MinGW Windows libvirt virtualization library. MinGW Windows libvirt virtualization library.
@ -77,7 +77,7 @@ MinGW Windows libvirt virtualization library.
# Mingw64 # Mingw64
%package -n mingw64-libvirt %package -n mingw64-libvirt
Summary: %{summary} Summary: %{summary}
Obsoletes: mingw64-libvirt < 7.0.0 Obsoletes: mingw64-libvirt-static < 7.0.0
%description -n mingw64-libvirt %description -n mingw64-libvirt
MinGW Windows libvirt virtualization library. MinGW Windows libvirt virtualization library.