Mailinglist Archive: opensuse-buildservice (110 mails)

< Previous Next >
Re: [opensuse-buildservice] %{_mandir} not mapping correctly for 10.1 and factory
  • From: Robert Schiele <rschiele@xxxxxxxxxxxxxxx>
  • Date: Sat, 8 Jul 2006 11:17:18 +0200
  • Message-id: <20060708091717.GW19116@xxxxxxxxxxxxxxxxxx>
On Sat, Jul 08, 2006 at 10:54:31AM +0200, Marcus Meissner wrote:
> On Sat, Jul 08, 2006 at 02:20:27PM +0530, Jigish Gohil wrote:
> > >It looks the buildroot got added twice somewhere.
> > >
> > Hi Marcus
> >
> > Here is the spec file.
> >
> > http://build.opensuse.org/package/edit_spec?package=gcompizthemer&project=Compiz-Quinn&file=gcompizthemer.spec

You must add --mandir=%{_mandir} to the configure call.

> One thing, the make DESTDIR=...install part belongs into the %install section.
>
> In the %build section there should be just a "make" call.

There are more strange things left. Among of them are:

- It does not make any sense to add an "|| exit 1" after the commands.
rpmbuild stops anyway if a command fails.

- Why on aerth do you add hundreds of parameters to the %setup macro just to
work around problems they produce two lines later?

Robert

--
Robert Schiele Tel.: +49-621-181-2214
Dipl.-Wirtsch.informatiker mailto:rschiele@xxxxxxxxxxxxxxx

"Quidquid latine dictum sit, altum sonatur."
< Previous Next >
Follow Ups