[libvirt] [PATCH] spec: fix libvirt-docs subpackage on RHEL
Daniel P. Berrange
berrange at redhat.com
Wed Nov 20 13:00:08 UTC 2013
On Wed, Nov 13, 2013 at 12:02:08PM +1100, Michael Chapman wrote:
> RHEL's rpmbuild wipes the docdir for a (sub-)package if any %doc
> directives are present, prior to copying in the marked documentation.
> This means we can't prepopulate this directory with the HTML
> documentation during the %install phase.
>
> Instead, move the HTML documentation to a temporary directory during
> %install and mark the contents of this temporary directory with %doc.
>
> Signed-off-by: Michael Chapman <mike at very.puzzling.org>
> ---
> libvirt.spec.in | 11 +++--------
> 1 file changed, 3 insertions(+), 8 deletions(-)
Ok, I've pushed this changed. Thanks for the problem diagnosis & patch.
Daniel
--
|: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org -o- http://virt-manager.org :|
|: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|
More information about the libvir-list
mailing list