[libvirt] [PATCH] docs: don't install news.rng file

Peter Krempa pkrempa at redhat.com
Wed Apr 5 06:43:40 UTC 2017


On Tue, Apr 04, 2017 at 18:24:07 +0100, Daniel Berrange wrote:
> The news.rng file gets picked up by the wildcard match on docs/schemas,
> and so gets installed into /usr/share/libvirt, along with the schemas
> for our API objects. This then generated an RPM build failure, since
> we don't have news.rng in the RPM file list
> 
> The news.rng schema is not something that users of libvirt ever care
> about, since it is purely an internal thing to validate our website
> content.
> 
> So rather than add news.rng to the RPM file list, this changes the
> make rules so that we don't install news.rng at all.
> 
> Signed-off-by: Daniel P. Berrange <berrange at redhat.com>
> ---
> 
> Technically a built-break fix, but I'm not pushing it, in case people
> have any alternative suggestions. eg we could just put news.rng in
> the tests/ subdirectory instead, letting us keep the wildcard in the
> docs/Makefile.am

I did not put it into tests since we did not have any directory for
schemas there. But that certainly is an option.

Other possibility would be to move it to docs/ along with news.xml. That
way it still can be next to the file and does not match the wildcart.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20170405/fd1a34aa/attachment-0001.sig>


More information about the libvir-list mailing list