From nobody Mon Feb 9 08:55:35 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 207.211.31.81 as permitted sender) client-ip=207.211.31.81; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-1.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 207.211.31.81 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=1587848430; cv=none; d=zohomail.com; s=zohoarc; b=LMaLzol6H/oVh5BCNiYd+ecSw6CxIDv7/EgYbcu7NaoRcwC2tXJjdfMZ0n4oWE9ZPioYw7E/9ab6yUaLtOMB3zz/ajN6eD9HUeqbqCCqxkMswgOBCk6MtTiFH0Sbm75dRoSWvx8tQUGUKlmKxwc0UFoqx5xXB26M8VV1NyVg2xc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1587848430; h=Content-Type:Content-Transfer-Encoding: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=lf7EcDtjMUKH/A4ql05N+8hTLn7u/T4PBnhUzaJiQrk=; b=HyYXd7JJ8+D9kuN5xm76cyz/+ULmmYi+toPvlkZ7yJB10gz79SBFWT6U8MSxq03qzO+W0xlnnB76aeuAL1Mh6g2EWaed3POINLPUD+YglD5n/j4tXfkHRbA6UVZGKj3DkyscdxyMPNsK4yD+SE7xruvl6rYeRtvAMMmQ8obWAlQ= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 207.211.31.81 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from us-smtp-1.mimecast.com (us-smtp-2.mimecast.com [207.211.31.81]) by mx.zohomail.com with SMTPS id 1587848430961842.6721061645744; Sat, 25 Apr 2020 14:00:30 -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-15-wxiXxxkHN9eCUslZSgVBKQ-1; Sat, 25 Apr 2020 17:00:27 -0400 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 1B419107ACCD; Sat, 25 Apr 2020 21:00:22 +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 D46D710013D9; Sat, 25 Apr 2020 21:00:21 +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 6639B1809563; Sat, 25 Apr 2020 21:00:21 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 03PL0E84030181 for ; Sat, 25 Apr 2020 17:00:14 -0400 Received: by smtp.corp.redhat.com (Postfix) id 2B7545D716; Sat, 25 Apr 2020 21:00:14 +0000 (UTC) Received: from harajuku.usersys.redhat.com (unknown [10.40.192.39]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 7E5F05D714 for ; Sat, 25 Apr 2020 21:00:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1587848429; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=lf7EcDtjMUKH/A4ql05N+8hTLn7u/T4PBnhUzaJiQrk=; b=TChp6Kd+5IaAbDOAhWwahor28V1VtmnWc2HLFLfXPVLvfmGoyqAS9KKt1G9MAweEUK6iTz Qd7JfGQzzYmL6BNPTq5oYvfFNGCgBw1H1HjlFq/8tvTikmCBvvbShbWvPmbViWNLcsGBkQ zQ6IjsySv+/QnklmQ7/o7AKzChmhw0M= X-MC-Unique: wxiXxxkHN9eCUslZSgVBKQ-1 From: Andrea Bolognani To: libvir-list@redhat.com Subject: [libvirt-dbus PATCH 9/9] spec: Pick documentation from installation directory Date: Sat, 25 Apr 2020 22:59:46 +0200 Message-Id: <20200425205946.656100-10-abologna@redhat.com> In-Reply-To: <20200425205946.656100-1-abologna@redhat.com> References: <20200425205946.656100-1-abologna@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-loop: libvir-list@redhat.com 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.84 on 10.5.11.22 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) Content-Type: text/plain; charset="utf-8" Now that the documentation is installed just like other files, we can also pick it from the installation directory instead of the source directory. Signed-off-by: Andrea Bolognani --- libvirt-dbus.spec.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libvirt-dbus.spec.in b/libvirt-dbus.spec.in index 84172fa..2230ffc 100644 --- a/libvirt-dbus.spec.in +++ b/libvirt-dbus.spec.in @@ -50,8 +50,9 @@ getent passwd %{system_user} >/dev/null || \ exit 0 =20 %files -%doc AUTHORS.rst NEWS.rst -%license COPYING +%doc %{_docdir}/%{name}/AUTHORS.rst +%doc %{_docdir}/%{name}/NEWS.rst +%license %{_docdir}/%{name}/COPYING %{_sbindir}/libvirt-dbus %{_datadir}/dbus-1/services/org.libvirt.service %{_datadir}/dbus-1/system-services/org.libvirt.service --=20 2.25.3