[Libreoffice] REVIEW: allow to call "make distro-pack-install" with normal user
Petr Mladek
pmladek at suse.cz
Mon Jul 18 10:53:13 PDT 2011
Andreas Radke píše v Po 18. 07. 2011 v 18:40 +0200:
> Am Mon, 18 Jul 2011 18:11:00 +0200
> schrieb Andreas Radke <a.radke at arcor.de>:
>
> > Am Mon, 18 Jul 2011 12:39:26 +0200
> > schrieb Petr Mladek <pmladek at suse.cz>:
> >
> > > Hi,
> > >
> > > the attached patch fixes two problems found when calling make
> > > distro-pack-install" as normal user.
> > >
> > > It would be great to get it into libreoffice-3-4-2 branch.
> > >
> > >
> > > Best Regards,
> > > Petr
> > >
> > >
> >
> > Booth issues seem fixed for me. Thanks.
> >
> > -Andy
>
> Hm. Maybe too fast answered. How do you build your packages?
>
> I'm doing a fake install with:
> make DESTDIR=${srcdir}/fakeinstall distro-pack-install
I use make DESTDIR=$RPM_BUILD_ROOT distro-pack-install.
The variable RPM_BUILD_ROOT points
to /vat/tmp/<packname>-<version>-<arch>.
The rpm tool creates the packages directly from there using the file
lists. So, I do not need to move the files after they are installed.
> That doesn't move the /usr/bin/soffice symlink into the common pkg. No
> big deal. I can recreate it but maybe I would miss other links in
> future builds as well.
>
> Do you have a more elegant way that prevents this?
Ah, the file was not mentioned in the file list. It should get fixed by
the attached patch.
Thanks for testing.
Best Regards,
Petr
More information about the LibreOffice
mailing list