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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Peter Krempa <pkrempa@xxxxxxxxxx> [2017-04-05, 08:44AM +0200]:
On Wed, Apr 05, 2017 at 07:58:36 +0200, Bjoern Walk wrote:
Daniel P. Berrange <berrange@xxxxxxxxxx> [2017-04-04, 07:24PM +0200]:
> 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@xxxxxxxxxx>
> ---
>
> 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 would actually prefer this solution. The current place feels weirdly
wrong.

Describe the wrongness please. It's together with other schemas in the
directory containing documentation. The place makes sense. Only thing
which does not is that it would be installed.

It's an auxiliary file to solve a build(?)-specific problem, not like
the other rngs. I actually tried to solve this failure yesterday by
adding the news.rng to the spec file and it didn't fit anywhere. So, it
just feels in the wrong place.

I like you suggestion to put the news.rng next to the news.xml, it would
make sense to have them paired and it gets the news.rng out of the way.

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


--
IBM Systems
Linux on z Systems & Virtualization Development
------------------------------------------------------------------------
IBM Deutschland
Schönaicher Str. 220
71032 Böblingen
Phone: +49 7031 16 1819
E-Mail: bwalk@xxxxxxxxxx
------------------------------------------------------------------------
IBM Deutschland Research & Development GmbH
Vorsitzende des Aufsichtsrats: Martina Koederitz
Geschäftsführung: Dirk Wittkopp
Sitz der Gesellschaft: Böblingen
Registergericht: Amtsgericht Stuttgart, HRB 243294

Attachment: signature.asc
Description: PGP signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]
  Powered by Linux