summaryrefslogtreecommitdiff
path: root/libvirt-python.spec.in
diff options
context:
space:
mode:
authorDaniel P. Berrange <berrange@redhat.com>2017-08-10 10:39:06 +0100
committerDaniel P. Berrange <berrange@redhat.com>2017-09-04 13:13:53 +0100
commitabce5971b25e75033c71a7e1a91a822f25943e1b (patch)
tree2bb574ad088a77dff90cc20ff5a911d08ab6580c /libvirt-python.spec.in
parent4ed61cae8fbbff2ce3e7afb6e5765f49c9fbabb5 (diff)
downloadlibvirt-python-abce5971b25e75033c71a7e1a91a822f25943e1b.tar.gz
Change Obsoletes to an explicit version
We only want to obsolete versions which actually had the original name, not all future versions. Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Diffstat (limited to 'libvirt-python.spec.in')
-rw-r--r--libvirt-python.spec.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/libvirt-python.spec.in b/libvirt-python.spec.in
index d08b650..4d0262d 100644
--- a/libvirt-python.spec.in
+++ b/libvirt-python.spec.in
@@ -39,7 +39,7 @@ License: LGPLv2+
Group: Development/Libraries
%{?python_provide:%python_provide python2-libvirt}
Provides: libvirt-python = %{version}-%{release}
-Obsoletes: libvirt-python < %{version}-%{release}
+Obsoletes: libvirt-python <= 3.6.0-1%{?dist}
%description -n python2-libvirt
The python2-libvirt package contains a module that permits applications
@@ -55,7 +55,7 @@ License: LGPLv2+
Group: Development/Libraries
%{?python_provide:%python_provide python3-libvirt}
Provides: libvirt-python3 = %{version}-%{release}
-Obsoletes: libvirt-python3 < %{version}-%{release}
+Obsoletes: libvirt-python3 <= 3.6.0-1%{?dist}
%description -n python3-libvirt
The python3-libvirt package contains a module that permits applications