]> xenbits.xensource.com Git - libvirt.git/commitdiff
libvirt.spec: remove duplicate files from -docs package
authorDaniel P. Berrange <berrange@redhat.com>
Wed, 4 May 2016 09:11:37 +0000 (10:11 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Wed, 4 May 2016 09:11:37 +0000 (10:11 +0100)
Previous commit moved some lists out of the -devel package
and into the -docs package

  commit feffcc03a0d3690dcffd860682dcbaa61d726b39
  Author: Cole Robinson <crobinso@redhat.com>
  Date:   Wed Apr 13 10:37:42 2016 -0400

    spec: Only pull in API docs with -devel package

What was not realized is that the rule 'libvirt-docs/*'
and ' docs/*.html docs/html docs/*.gif' actually point
to the exact same content. ie, we had previously included
the website HTML in *both* the -docs and -devel packages.

So this change ended up listing the files twice, which
caused RPM to print a load of warnings:

warning: File listed twice: /usr/share/doc/libvirt-docs/html
warning: File listed twice: /usr/share/doc/libvirt-docs/html/32favicon.png
warning: File listed twice: /usr/share/doc/libvirt-docs/html/404.html
warning: File listed twice: /usr/share/doc/libvirt-docs/html/acl.html
warning: File listed twice: /usr/share/doc/libvirt-docs/html/aclpolkit.html

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
libvirt.spec.in

index f441c51eb52bebe21a36595eb12ba117a24e8d7e..a24be3284312f0153a460c0b087ed6b1b23f4fdd 100644 (file)
@@ -1956,7 +1956,6 @@ exit 0
 %defattr(-, root, root)
 %doc AUTHORS ChangeLog.gz NEWS README TODO
 %doc libvirt-docs/*
-%doc docs/*.html docs/html docs/*.gif
 
 # API docs
 %dir %{_datadir}/gtk-doc/html/libvirt/