[libvirt] [libvirt-snmp][PATCH] rpm: simplify applying of patches

Michal Privoznik mprivozn at redhat.com
Tue Sep 4 15:28:13 UTC 2018


The distros we support for RPM builds all have %autosetup
support. Use that instead of what we currently have (nothing).

Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
---

Pushed under trivial rule and also 'who cares about snmp' rules ;-)

 libvirt-snmp.spec.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libvirt-snmp.spec.in b/libvirt-snmp.spec.in
index c5a1a41..21a9885 100644
--- a/libvirt-snmp.spec.in
+++ b/libvirt-snmp.spec.in
@@ -15,7 +15,7 @@ BuildRequires: net-snmp-perl net-snmp net-snmp-utils net-snmp-devel libvirt-deve
 Provides a way to control libvirt through SNMP protocol.
 
 %prep
-%setup -q
+%autosetup -S git_am
 
 
 %build
-- 
2.16.4




More information about the libvir-list mailing list