summaryrefslogtreecommitdiffstats
path: root/libguestfs.spec.in
diff options
context:
space:
mode:
Diffstat (limited to 'libguestfs.spec.in')
-rw-r--r--libguestfs.spec.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/libguestfs.spec.in b/libguestfs.spec.in
index f719c058..bc611eff 100644
--- a/libguestfs.spec.in
+++ b/libguestfs.spec.in
@@ -151,6 +151,12 @@ rm Makefile*
rm -rf .deps .libs
popd
+# Same for ocaml/examples.
+pushd ocaml/examples
+make clean
+rm Makefile*
+popd
+
find $RPM_BUILD_ROOT -name perllocal.pod -delete
find $RPM_BUILD_ROOT -name .packlist -delete
@@ -200,6 +206,7 @@ rm -rf $RPM_BUILD_ROOT
%files ocaml-devel
%defattr(-,root,root,-)
+%doc ocaml/examples
%{_libdir}/ocaml/guestfs/*.a
%{_libdir}/ocaml/guestfs/*.cmxa
%{_libdir}/ocaml/guestfs/*.cmx