]> xenbits.xensource.com Git - libvirt.git/commitdiff
rpm: Set version information for libvirt-admin virtual name
authorNeal Gompa <ngompa13@gmail.com>
Tue, 11 May 2021 23:22:23 +0000 (19:22 -0400)
committerMichal Privoznik <mprivozn@redhat.com>
Thu, 13 May 2021 07:28:34 +0000 (09:28 +0200)
The libvirt-daemon package now provides the 'libvirt-admin' virtual
name, but the Provides stanza doesn't declare version information,
which breaks things depending on that package using a versioned
dependency. Fix this by setting the version-release of libvirt to
that name to mimic the previous state.

Fixes: 2244ac168d42c3fa424bae6d33ecdbb8726da7c2
Signed-off-by: Neal Gompa <ngompa13@gmail.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
libvirt.spec.in

index d7cd708609c2070a52097d2856fa01f06c2aea21..f421828d167d5c2aa60c12b5ccf0146868170aaa 100644 (file)
@@ -415,7 +415,7 @@ Requires: gettext
 
 # Ensure smooth upgrades
 Obsoletes: libvirt-admin < 7.3.0
-Provides: libvirt-admin
+Provides: libvirt-admin = %{version}-%{release}
 Obsoletes: libvirt-bash-completion < 7.3.0
 
 %description daemon