             %{arg_init_script}
  make %{?_smp_mflags}
  gzip -9 ChangeLog
-@@ -1254,6 +1258,11 @@ mv $RPM_BUILD_ROOT%{_datadir}/systemtap/tapset/libvirt_qemu_probes.stp \
+@@ -1280,6 +1284,11 @@ mv $RPM_BUILD_ROOT%{_datadir}/systemtap/tapset/libvirt_qemu_probes.stp \
     $RPM_BUILD_ROOT%{_datadir}/systemtap/tapset/libvirt_qemu_probes-64.stp
  %endif
  

From 417909d31c4afd7b84d6f65e9c50cd302e9d6711 Mon Sep 17 00:00:00 2001
From: Luyao Huang <lhuang@redhat.com>
Date: Fri, 4 Nov 2016 11:52:16 +0800
Subject: [PATCH] Virtcov for v1.3.5~

Signed-off-by: Luyao Huang <lhuang@redhat.com>
---

 create mode 100644 tools/virtcov.in

diff --git a/Makefile.am b/Makefile.am
index 50c358c..00d546f 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -66,7 +66,7 @@ $(top_srcdir)/HACKING: $(top_srcdir)/docs/hacking1.xsl \
 	   > $@-t && mv $@-t $@ ; fi;
 
 rpm: clean
-	@(unset CDPATH ; $(MAKE) dist && rpmbuild -ta $(distdir).tar.xz)
+	@(unset CDPATH ; $(MAKE) dist && rpmbuild --define "_topdir /usr/coverage" -ta $(distdir).tar.xz)
 
 check-local: all tests
 
diff --git a/libvirt.spec.in b/libvirt.spec.in
index d3986bb..6bf4ece 100644
--- a/libvirt.spec.in
+++ b/libvirt.spec.in
@@ -216,7 +216,7 @@
 Summary: Library providing a simple virtualization API
 Name: libvirt
 Version: @VERSION@
