From nobody Sun Apr 28 18:54:10 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; dmarc=pass(p=none dis=none) header.from=redhat.com Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1536135923141427.9737381004596; Wed, 5 Sep 2018 01:25:23 -0700 (PDT) Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 6ECD9356D5; Wed, 5 Sep 2018 08:25:21 +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 274EA4491; Wed, 5 Sep 2018 08:25: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 7D8B54A460; Wed, 5 Sep 2018 08:25:20 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id w858PIZX025413 for ; Wed, 5 Sep 2018 04:25:18 -0400 Received: by smtp.corp.redhat.com (Postfix) id 6419D2027EA0; Wed, 5 Sep 2018 08:25:18 +0000 (UTC) Received: from moe.brq.redhat.com (unknown [10.43.2.192]) by smtp.corp.redhat.com (Postfix) with ESMTP id 03B24202706C for ; Wed, 5 Sep 2018 08:25:17 +0000 (UTC) From: Michal Privoznik To: libvir-list@redhat.com Date: Wed, 5 Sep 2018 10:25:11 +0200 Message-Id: <7e6e3620eef446bbe342db5815fd2257c0b6b951.1536135853.git.mprivozn@redhat.com> In-Reply-To: References: In-Reply-To: References: X-Scanned-By: MIMEDefang 2.78 on 10.11.54.4 X-loop: libvir-list@redhat.com Subject: [libvirt] [libvirt-snmp][PATCH 1/2] spec: Require git and gcc for the build 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.13 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.30]); Wed, 05 Sep 2018 08:25:22 +0000 (UTC) X-ZohoMail: RDMRC_0 RSF_0 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" In previous patch 46cae089f12 I've switched the spec file to apply patches with git. However, I forgot to add that as a build dependency so on systems with minimal install this may fail if they don't have git installed. Signed-off-by: Michal Privoznik --- libvirt-snmp.spec.in | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/libvirt-snmp.spec.in b/libvirt-snmp.spec.in index 21a9885..b51777c 100644 --- a/libvirt-snmp.spec.in +++ b/libvirt-snmp.spec.in @@ -9,7 +9,13 @@ URL: http://libvirt.org Source0: http://www.libvirt.org/sources/snmp/libvirt-snmp-%{version}.tar.gz BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) =20 -BuildRequires: net-snmp-perl net-snmp net-snmp-utils net-snmp-devel libvir= t-devel +BuildRequires: net-snmp-perl +BuildRequires: net-snmp +BuildRequires: net-snmp-utils +BuildRequires: net-snmp-devel +BuildRequires: libvirt-devel +BuildRequires: git +BuildRequires: gcc =20 %description Provides a way to control libvirt through SNMP protocol. --=20 2.16.4 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list From nobody Sun Apr 28 18:54:10 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; dmarc=pass(p=none dis=none) header.from=redhat.com Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 153613593274870.16099985799383; Wed, 5 Sep 2018 01:25:32 -0700 (PDT) Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id EC65F64381; Wed, 5 Sep 2018 08:25:30 +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 A6A7961101; Wed, 5 Sep 2018 08:25:30 +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 3DE28181A12D; Wed, 5 Sep 2018 08:25:30 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id w858PJfY025421 for ; Wed, 5 Sep 2018 04:25:19 -0400 Received: by smtp.corp.redhat.com (Postfix) id 12D7E2027EA0; Wed, 5 Sep 2018 08:25:19 +0000 (UTC) Received: from moe.brq.redhat.com (unknown [10.43.2.192]) by smtp.corp.redhat.com (Postfix) with ESMTP id A27A12027EB6 for ; Wed, 5 Sep 2018 08:25:18 +0000 (UTC) From: Michal Privoznik To: libvir-list@redhat.com Date: Wed, 5 Sep 2018 10:25:12 +0200 Message-Id: In-Reply-To: References: In-Reply-To: References: X-Scanned-By: MIMEDefang 2.78 on 10.11.54.4 X-loop: libvir-list@redhat.com Subject: [libvirt] [libvirt-snmp][PATCH 2/2] spec: Modernize the spec file 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.12 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.39]); Wed, 05 Sep 2018 08:25:31 +0000 (UTC) X-ZohoMail: RDMRC_0 RSF_0 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" There are two macros ("BuildRoot" and "defattr") that were required in RHEL-5 world. Things are different now and we do not need to specify those anymore. Signed-off-by: Michal Privoznik --- libvirt-snmp.spec.in | 5 ----- 1 file changed, 5 deletions(-) diff --git a/libvirt-snmp.spec.in b/libvirt-snmp.spec.in index b51777c..070a7ef 100644 --- a/libvirt-snmp.spec.in +++ b/libvirt-snmp.spec.in @@ -7,7 +7,6 @@ Group: Development/Libraries License: GPLv2+ URL: http://libvirt.org Source0: http://www.libvirt.org/sources/snmp/libvirt-snmp-%{version}.tar.gz -BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) =20 BuildRequires: net-snmp-perl BuildRequires: net-snmp @@ -23,18 +22,14 @@ Provides a way to control libvirt through SNMP protocol. %prep %autosetup -S git_am =20 - %build %configure make %{?_smp_mflags} =20 - %install make install DESTDIR=3D$RPM_BUILD_ROOT =20 - %files -%defattr(-,root,root,-) %{_bindir}/libvirtMib_subagent %{_datadir}/snmp/mibs/LIBVIRT-MIB.txt %doc README NEWS ChangeLog AUTHORS --=20 2.16.4 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list