From nobody Sat Feb 7 08:02:13 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) client-ip=170.10.133.124; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1624644639; cv=none; d=zohomail.com; s=zohoarc; b=RFcUtippqAlwUVHGlGMXDH6zwahYuy6hmx5q1jzbY8WW04F5avcUCf6fJqxPkh66uNGzNoz3rj2UTTt2xJQ79OM86QwteAYRODKOYW2+LCoJtFRMCA+UrFK45lIPTs+d84op132aFKSHjLszB7M98Sy6syeavC94a2SRG8QNQBU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1624644639; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=2tNP1PFK+egmIGi4x/ak3GxFelQUZDSETH1h5X4Uhz0=; b=NWs7Y0ecwdZBOHZVpVOIMmBzf7hE5Fyd5Ec1X6h7Y5F2v8Fg7dYPSEHhufR5e1pPlHlQECLfSh9rzpV5dfRpNF80Yc0zbFFGC0L5X43KfXWuNYYNzr+U+fZJQq4SNbD2b74e8GF39tj08HpMxQW8763u+zo3nqPvObwHtIz/KrA= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.zohomail.com with SMTPS id 1624644639715188.58724327135087; Fri, 25 Jun 2021 11:10:39 -0700 (PDT) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-138-y7A7WHgzN-2RpZPzcn9Xqg-1; Fri, 25 Jun 2021 14:10:34 -0400 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id EBEFE100C660; Fri, 25 Jun 2021 18:10:29 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id CC73A5C1B4; Fri, 25 Jun 2021 18:10:29 +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 9A0BC1809CAC; Fri, 25 Jun 2021 18:10:29 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 15PIA1LK004730 for ; Fri, 25 Jun 2021 14:10:01 -0400 Received: by smtp.corp.redhat.com (Postfix) id 3BD6D26FCC; Fri, 25 Jun 2021 18:10:01 +0000 (UTC) Received: from localhost.localdomain.com (ovpn-114-183.ams2.redhat.com [10.36.114.183]) by smtp.corp.redhat.com (Postfix) with ESMTP id 693E0391; Fri, 25 Jun 2021 18:10:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1624644638; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=2tNP1PFK+egmIGi4x/ak3GxFelQUZDSETH1h5X4Uhz0=; b=fR0I3ra7ZDtzw7A0PGb1SzXWd16V1DBKxvCo3r8jeToKfxR/C6MzR6fkU0LJXIe2Wd2/Jy T8CjJA2RXmzZ7sZCcmCJs+VRQyvUk0Ua6IBg1L4LSjnwyLDaNS7PRliT3d7frrc1n704lX QGaeC4NaqslaOhk8jxe4S7J/QmNZANc= X-MC-Unique: y7A7WHgzN-2RpZPzcn9Xqg-1 From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= To: libvir-list@redhat.com Subject: [libvirt PATCH 1/3] spec: drop/update dependencies on systemd-{units, sysv} Date: Fri, 25 Jun 2021 19:09:52 +0100 Message-Id: <20210625180954.454141-2-berrange@redhat.com> In-Reply-To: <20210625180954.454141-1-berrange@redhat.com> References: <20210625180954.454141-1-berrange@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 X-loop: libvir-list@redhat.com Cc: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= 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: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=libvir-list-bounces@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) From: Zbigniew J=C4=99drzejewski-Szmek -sysv was probably a left-over, and the -units deps was outdated and not necessary, see https://docs.fedoraproject.org/en-US/packaging-guidelines/Scriptlets/#_depe= ndencies_on_the_systemd_package. Only for 'systemctl mask' which is executed in %post, we want to make sure that /usr/bin/systemctl is installed, so keep that dependency. (A file dep is used to avoid issues if the systemd package is further split later on.) Ferried over from https://src.fedoraproject.org/rpms/libvirt/pull-request/7. Signed-off-by: Zbigniew J=C4=99drzejewski-Szmek --- libvirt.spec.in | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/libvirt.spec.in b/libvirt.spec.in index c1ccd2f74e..7f12a92b7f 100644 --- a/libvirt.spec.in +++ b/libvirt.spec.in @@ -247,7 +247,6 @@ BuildRequires: ninja-build BuildRequires: git BuildRequires: perl-interpreter BuildRequires: python3 -BuildRequires: systemd-units %if %{with_libxl} BuildRequires: xen-devel %endif @@ -412,10 +411,7 @@ Requires: polkit >=3D 0.112 Requires: dmidecode %endif # For service management -Requires(post): systemd-units -Requires(post): systemd-sysv -Requires(preun): systemd-units -Requires(postun): systemd-units +Requires(post): /usr/bin/systemctl %if %{with_numad} Requires: numad %endif --=20 2.31.1