summaryrefslogtreecommitdiff
path: root/libvirt.spec.in
diff options
context:
space:
mode:
authorNeal Gompa <ngompa13@gmail.com>2021-05-11 19:22:23 -0400
committerMichal Privoznik <mprivozn@redhat.com>2021-05-13 09:28:34 +0200
commitd6a1d1841a7f6ae5ba7ebebc1c01769813b40876 (patch)
treeb1682a81256091a1cc47dae788d11ffd40caff67 /libvirt.spec.in
parent210bdb61ffd08e4c6db8d22e9bb35f97394a0904 (diff)
downloadlibvirt-d6a1d1841a7f6ae5ba7ebebc1c01769813b40876.tar.gz
rpm: Set version information for libvirt-admin virtual name
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>
Diffstat (limited to 'libvirt.spec.in')
-rw-r--r--libvirt.spec.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/libvirt.spec.in b/libvirt.spec.in
index d7cd708609..f421828d16 100644
--- a/libvirt.spec.in
+++ b/libvirt.spec.in
@@ -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