diff --git a/ocaml-libvirt.spec b/ocaml-libvirt.spec index 08c7662..395101c 100644 --- a/ocaml-libvirt.spec +++ b/ocaml-libvirt.spec @@ -10,13 +10,13 @@ Name: ocaml-libvirt Version: 0.4.1.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: OCaml binding for libvirt Group: Development/Libraries License: LGPLv2+ URL: http://libvirt.org/ocaml/ -Source0: http://libvirt.org/sources/ocaml/ocaml-libvirt/%{name}-%{version}.tar.gz +Source0: http://libvirt.org/sources/ocaml/%{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: ocaml >= 3.10.1 @@ -161,6 +161,13 @@ install -m 0644 virt-top/virt-top.1 $RPM_BUILD_ROOT%{_mandir}/man1 gzip $RPM_BUILD_ROOT%{_mandir}/man1/virt-top.1 %endif +%if %build_virt_df +# Install virt-df manpage by hand for now. +mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1 +install -m 0644 virt-df/virt-df.1 $RPM_BUILD_ROOT%{_mandir}/man1 +gzip $RPM_BUILD_ROOT%{_mandir}/man1/virt-df.1 +%endif + %if !%build_mlvirsh rm -f $RPM_BUILD_ROOT%{_bindir}/mlvirsh %endif @@ -234,12 +241,15 @@ rm -rf $RPM_BUILD_ROOT %defattr(-,root,root,-) %doc COPYING README ChangeLog %{_bindir}/virt-df -# Because of a bug in the upstream package, this isn't built yet. -#%{_mandir}/man1/virt-df.1.gz +%{_mandir}/man1/virt-df.1.gz %endif %changelog +* Tue Mar 4 2008 Richard W.M. Jones - 0.4.1.0-2 +- Fix source URL. +- Install virt-df manpage. + * Tue Mar 4 2008 Richard W.M. Jones - 0.4.1.0-1 - New upstream release 0.4.1.0. - Upstream now requires ocaml-dbus >= 0.06, ocaml-lablgtk >= 2.10.0,