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

Michal Privoznik posted 1 patch 5 years, 7 months ago
Failed in applying to current master (apply log)
libvirt-snmp.spec.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[libvirt] [libvirt-snmp][PATCH] rpm: simplify applying of patches
Posted by Michal Privoznik 5 years, 7 months ago
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@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

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list