summaryrefslogtreecommitdiffstats
path: root/libguestfs.spec.in
diff options
context:
space:
mode:
authorRichard Jones <rjones@redhat.com>2009-04-13 19:10:10 +0100
committerRichard Jones <rjones@redhat.com>2009-04-13 19:10:10 +0100
commit70c2ffc39677a9f5eb6b2230cb9ca2606b2fd966 (patch)
tree253e14c3aff908f3587ba219cb4071a240dbfec7 /libguestfs.spec.in
parentb3f11c5f62f725fa3f09452b38d52dba764f80d0 (diff)
downloadlibguestfs-70c2ffc39677a9f5eb6b2230cb9ca2606b2fd966.tar.gz
libguestfs-70c2ffc39677a9f5eb6b2230cb9ca2606b2fd966.tar.xz
libguestfs-70c2ffc39677a9f5eb6b2230cb9ca2606b2fd966.zip
Additional test programs for Perl, Python, OCaml bindings.
Diffstat (limited to 'libguestfs.spec.in')
-rw-r--r--libguestfs.spec.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/libguestfs.spec.in b/libguestfs.spec.in
index 0da3ce69..f6931b78 100644
--- a/libguestfs.spec.in
+++ b/libguestfs.spec.in
@@ -123,6 +123,8 @@ Summary: Python bindings for %{name}
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
+%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
+%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
%description python
%{name}-python contains Python bindings for %{name}.
@@ -193,6 +195,7 @@ rm -rf $RPM_BUILD_ROOT
%files devel
%defattr(-,root,root,-)
%doc HACKING TODO README ex html/guestfs.3.html html/pod.css
+%doc src/generator.ml
%{_libdir}/libguestfs.so
%{_mandir}/man3/guestfs.3*
%{_includedir}/guestfs.h