On 05/02/2016 02:25 PM, Miklos Vajna wrote:
On Mon, May 02, 2016 at 02:16:15PM +0200, Stephan Bergmann <sbergman@redhat.com> wrote:
Any idea, anybody?
If this is called by make distro-pack-install, then see
<https://build.opensuse.org/package/view_file/LibreOffice:Factory/libreoffice/libreoffice.spec?expand=1>
for one user. Gentoo uses it as well IIRC.
/usr/share metadata via bin/distro-install-desktop-integration), which then
fail because there is no $DESTDIR/gid_Module_Root.
$DESTDIR/gid_Module_Root is created when you use 'make DESTDIR=...
install'. It's a file list that can be used by rpm later, i.e. it would
be possible to let upstream decide what files go into what subpackages,
and not manually list them in an RPM spec file.
Ah, solenv/bin/ooinstall does things differently depending on whether
DESTDIR is set or not. And presumably only puts a gid_Module_Root file
somewhere if DESTDIR is set.
I don't set it but use a --prefix=... configure switch, which apparently
works fine for all the other parts of "make distro-pack-install"
(including the "make install" part, which it depends on). So my little
hack of silently quitting the bin/distro-install-file-lists part if
there's no $DESTDIR/gid_Module_Root is probably OK.
Context
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.