Mailinglist Archive: opensuse-packaging (138 mails)

< Previous Next >
Re: [opensuse-packaging] Proposal: Any "rm" in .spec %install must be commented
  • From: Stanislav Brabec <sbrabec@xxxxxxx>
  • Date: Thu, 15 Mar 2007 15:40:28 +0100
  • Message-id: <1173969628.4770.25.camel@xxxxxxxxxxxxxx>
Juergen Weigert píše v Čt 15. 03. 2007 v 15:08 +0100:
> On Mar 15, 07 14:53:50 +0100, Richard Guenther wrote:
> > On Thu, 15 Mar 2007, Stanislav Brabec wrote:
> >
> > > Hallo.
> > >
> > > I have just notified, that many people "fix" (i. e. break) their
> > > packages to pass QA checks by removing required files instead of fixing
> > > them, i. e. removing .desktop files instead of installing icon or fixing
> > > Categories, removing gconf schemas instead of correct installation.
>
> > If they "fix" or "break" their package what does it help to add a comment?
> > It looks like you are proposing that package maintainers have a clue ;)
>
> No. Especially cluelessness needs documentation.
> Example:
> "# I don't care about this gconf stuff. Remove seems to help."
>
> This is a very useful comment.
> It pinpoints the actual problem that the maintainer has.

Exactly.

In most packages, %install is used to install and add files somewhere.
Removals here means very non-standard operation, which means "I don't
want this file, installed by upstream". It is either bug work-around
(removal of obsolete scrollkeeper cache file), tools work-around
(obsolete libtool and .a files) or deliberate feature stripping (e. g.
removing broken files).

If it is not any of them, it's most probably bug.

Exactly the same would be very welcome, if one deliberately packages .la
or .so files to the main package or so.

--
Best Regards / S pozdravem,

Stanislav Brabec
software developer
---------------------------------------------------------------------
SUSE LINUX, s. r. o. e-mail: sbrabec@xxxxxxx
Lihovarská 1060/12 tel: +420 284 028 966
190 00 Praha 9 fax: +420 284 028 951
Czech Republic http://www.suse.cz/

---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups