From patchwork Thu Sep 14 21:43:06 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Cole Robinson X-Patchwork-Id: 112663 Delivered-To: patch@linaro.org Received: by 10.140.106.117 with SMTP id d108csp1323193qgf; Thu, 14 Sep 2017 15:47:59 -0700 (PDT) X-Google-Smtp-Source: AOwi7QBxHI2Rt7cPA8xMd8qqYO5El33BKEHqFKLXECTdQlGfgDcWUhjf7N4RWfrit08WCdb7PVNY X-Received: by 10.202.71.2 with SMTP id u2mr21941181oia.57.1505429279655; Thu, 14 Sep 2017 15:47:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1505429279; cv=none; d=google.com; s=arc-20160816; b=zDbTiLMsUAHCKS7N0tAFYw8dq0uhalma2PVNbMgMQIFWjy0U5CV+uAmK3+fQ+FD6Om ciKtRt2UPCRYYwNz422DESKwkSXl2OPSGYbSqyETsxG1F6frgVq1flMJD/e+WZYVVSyx sIxEWTkRcHt/pwZ1vUYhArNg+Yb5KTvcOlMZchCxkJ3eMJsDHEa+VaarssiqR2u6B++6 zGKNinRPLKW1cIzxK5HLxSLlESyxtfBSe5NPu27ozpbyPPiAEk8Ea9YNxYHq0v5pvVbW XjGyo+kaujpwoTHhI08hCcz21wXIrHxpCR3nPXDI1pyDu13EViURhyZl8qUI9qhpGK0R v1tA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :cc:mime-version:message-id:date:to:from:delivered-to:dmarc-filter :arc-authentication-results; bh=sZItQeBFa+d3qRppkhTs7CkLNgtdpLtvs/zpBWxNCBE=; b=YrOr7IvZnrKgqkk/k1n7IYsC5WrKdtTr/PIXdH/2hAQRAcInM1byT3VTkswVMedKq3 nSiZoD9oZMX8GByWArPyNoF/2gbqtLUM5PgFNaeNSeEivo19uvQ8ZUXDlwltP3zMxHKj 75Bj1h6b17V+9661ne2PILKFyRFRZW45DJ1HKSLGrVfV+zmfadfNIg6qKSa9IfGovRSD kEsSPpjYlL47dgzyX5j1oMISxHU6dGKSp0EeOtpyn7FZMjhWozCQbcrg2JWM/7fZFvzB 1qy0QwgpLeuYqa/jTN34S+tW8Zh/U35B5ltURc6uXRIM85tuRbcKE0mRwVJeb4rzWoed e72A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of libvir-list-bounces@redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from mx1.redhat.com (mx1.redhat.com. [209.132.183.28]) by mx.google.com with ESMTPS id g5si8465652oif.335.2017.09.14.15.47.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 14 Sep 2017 15:47:59 -0700 (PDT) Received-SPF: pass (google.com: domain of libvir-list-bounces@redhat.com designates 209.132.183.28 as permitted sender) client-ip=209.132.183.28; Authentication-Results: mx.google.com; spf=pass (google.com: domain of libvir-list-bounces@redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 12B8D356E1; Thu, 14 Sep 2017 22:47:58 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 12B8D356E1 Authentication-Results: ext-mx06.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx06.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=libvir-list-bounces@redhat.com 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 3F265600C0; Thu, 14 Sep 2017 22:47:57 +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 579994EE50; Thu, 14 Sep 2017 22:47:54 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id v8ELhH3D000659 for ; Thu, 14 Sep 2017 17:43:17 -0400 Received: by smtp.corp.redhat.com (Postfix) id 0FEC560177; Thu, 14 Sep 2017 21:43:17 +0000 (UTC) Delivered-To: libvir-list@redhat.com Received: from worklaptop.redhat.com (ovpn-117-69.phx2.redhat.com [10.3.117.69]) by smtp.corp.redhat.com (Postfix) with ESMTP id E1123600C6; Thu, 14 Sep 2017 21:43:13 +0000 (UTC) From: Cole Robinson To: libvir-list@redhat.com Date: Thu, 14 Sep 2017 17:43:06 -0400 Message-Id: <269e5d2eb2e10057672abf124804fbc67295a53a.1505424654.git.crobinso@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-loop: libvir-list@redhat.com Cc: =?utf-8?q?Ville_Skytt=C3=A4?= Subject: [libvirt] [PATCH] spec: Own %{_libdir}/libvirt{, /connection-driver} dirs 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.11 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.30]); Thu, 14 Sep 2017 22:47:58 +0000 (UTC) From: Ville Skyttä Owning all created directories is a requirement of the Fedora packaging guidelines https://bugzilla.redhat.com/show_bug.cgi?id=1483293 Signed-off-by: Cole Robinson Reviewed-by: Daniel P. Berrange --- libvirt.spec.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libvirt.spec.in b/libvirt.spec.in index 2b58bf3a9..583fb0583 100644 --- a/libvirt.spec.in +++ b/libvirt.spec.in @@ -1794,6 +1794,8 @@ exit 0 %dir %attr(0711, root, root) %{_localstatedir}/cache/libvirt/ +%dir %attr(0755, root, root) %{_libdir}/libvirt/ +%dir %attr(0755, root, root) %{_libdir}/libvirt/connection-driver/ %dir %attr(0755, root, root) %{_libdir}/libvirt/lock-driver %attr(0755, root, root) %{_libdir}/libvirt/lock-driver/lockd.so