Mailinglist Archive: opensuse-packaging (220 mails)

< Previous Next >
Re: [opensuse-packaging] default for %clean phase
  • From: aledr <matrixworkstation@xxxxxxxxx>
  • Date: Thu, 3 Sep 2009 10:31:30 -0300
  • Message-id: <73e156130909030631o787461eay747fb093423f8e47@xxxxxxxxxxxxxx>
On Thu, Sep 3, 2009 at 10:19 AM, Pavol Rusnak<prusnak@xxxxxxx> wrote:
Hi all!

RPM upstream recently added the following patch[1] which creates a
default behaviour for %clean phase. When its definition is omitted in
the spec file, the buildroot removal is done. One can still override
this by specifying other commands in the %clean phase (but I haven't
seen any package which does something else than "rm -rf %{buildroot}).
What do you think about the change? (We would still need to use the old
way for compatibility with older distros, but sooner we get this into
openSUSE, the sooner it will phase out ...).

It will remove two lines from spec file and make easier to read. Once
this is available to use, definitly should be done.

Regards.
--
[ ]'s
Aledr - Alexandre
"OpenSource Solutions for SmallBusiness Problems"
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx

< Previous Next >
References