From nobody Thu May 2 21:15:31 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) client-ip=209.132.183.28; envelope-from=libvir-list-bounces@redhat.com; helo=mx1.redhat.com; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1502358973475336.1818496062077; Thu, 10 Aug 2017 02:56:13 -0700 (PDT) Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id C7E7061499; Thu, 10 Aug 2017 09:56:11 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 67817A0D2C; Thu, 10 Aug 2017 09:56:11 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 614594BB79; Thu, 10 Aug 2017 09:56:09 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id v7A9u7Xu014109 for ; Thu, 10 Aug 2017 05:56:07 -0400 Received: by smtp.corp.redhat.com (Postfix) id A1FFDA0D30; Thu, 10 Aug 2017 09:56:07 +0000 (UTC) Received: from t460.lcy.redhat.com (unknown [10.42.22.189]) by smtp.corp.redhat.com (Postfix) with ESMTP id CB3A99FA3C; Thu, 10 Aug 2017 09:56:04 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com C7E7061499 Authentication-Results: ext-mx10.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx10.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=libvir-list-bounces@redhat.com From: "Daniel P. Berrange" To: libvir-list@redhat.com Date: Thu, 10 Aug 2017 10:56:03 +0100 Message-Id: <20170810095603.20523-1-berrange@redhat.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-loop: libvir-list@redhat.com Subject: [libvirt] [PATCH python v2] Change Obsoletes to an explicit version X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.39]); Thu, 10 Aug 2017 09:56:12 +0000 (UTC) X-ZohoMail: RSF_0 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" We only want to obsolete versions which actually had the original name, not all future versions. Signed-off-by: Daniel P. Berrange --- Changed in v2: - Fix both sub-rpms libvirt-python.spec.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libvirt-python.spec.in b/libvirt-python.spec.in index e4fb17a..1905191 100644 --- a/libvirt-python.spec.in +++ b/libvirt-python.spec.in @@ -32,7 +32,7 @@ License: LGPLv2+ Group: Development/Libraries %{?python_provide:%python_provide python2-libvirt} Provides: libvirt-python =3D %{version}-%{release} -Obsoletes: libvirt-python < %{version}-%{release} +Obsoletes: libvirt-python <=3D 3.6.0-1%{?dist} =20 %description -n python2-libvirt The libvirt-python2 package contains a module that permits applications @@ -47,7 +47,7 @@ License: LGPLv2+ Group: Development/Libraries %{?python_provide:%python_provide python3-libvirt} Provides: libvirt-python3 =3D %{version}-%{release} -Obsoletes: libvirt-python3 < %{version}-%{release} +Obsoletes: libvirt-python3 <=3D 3.6.0-1%{?dist} =20 %description -n python3-libvirt The libvirt-python3 package contains a module that permits applications --=20 2.13.3 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list