Flags for building an rpm
Marcus Meissner
marcus at jet.franken.de
Sun Aug 1 11:31:31 CDT 2004
> >
> > Unfortunately, my colleague is incommunicado for the next couple of
> > weeks, and I cannot ask him how he built the rpm. I added a patch to
> > fix the problem I reported recently in menu.c. Then, I built the rpm
> > with the command:
> >
> > # rpmbuild -ba --platform athlon wine-20040408-2muse.spec
>
> My rpmbuild manpage says to use --target, while --platform is not
> documented.
> Else, looks good to me...
>
> >
> > Here is what I get:
> >
> > 85910178 Jul 29 21:25 wine-20040408-2muse.athlon.rpm
> >
> > This is significantly larger. I looked at the contents and the problem
> > seems to be mainly in /usr/lib/ All files are significantly larger.
>
> I've noticed it also if I build with stabs+ usage. That's why there's a
> patch in the RH rpms which disables stabs+ detection (and shrinks the
> archive to ~10MB).
>
> >
> > What flags am I missing when I am building the rpm?
>
> It's most probably a question of stabs+ usage. For some reason, it was
> disabled for the rpm your colleague did, and enabled for the one you
> did.
Or use strip --debug on the .so files...
its just the debuginfo that makes it that large.
Ciao, Marcus
More information about the wine-devel
mailing list