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(a)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.