Mailinglist Archive: opensuse-packaging (134 mails)

< Previous Next >
Re: [opensuse-packaging] Optional stuff in spec files
On Friday 08 July 2011 15:08:35 Dominique Leuenberger a.k.a DimStar wrote:
Quoting Sascha Peilicke <saschpe@xxxxxx>:
Hi all,

just to notify you all, since quite some time you neither need to specify
a clean section nor a BuildRoot in your spec files. Official rpm
(present in openSUSE) has reasonable defaults.

It happened recently that I already let a (games) package into Factory
which had no %clean setion. Whilst this was an accident, the question is
on how we want to handle this in the future.

Shame on you!

You should be aware that this is not support on any SLE*. Generally, we
wouldn't care for Factory but if you want to build for SLE, you may want
to keep it. I was told that the games guys already started to convert
their spec files. So we need a decision.

I would argue not to do it! A big feature of OBS is the fact that we
can use one .spec file for multiple targets. Of course this does not
work with every .spec file we now have, but at least those banalities
I would really hate having to fix in every branched package I/sombody
creates for any other RPM based system.
I share that opinion, it's just to be aware of the issue. So, if nobody
disagrees, Factory reviewers won't (hopefully) let it slip thru again ;-)

The sections are simple enough and well understood I hope.
Mit freundlichen Grüßen,
Sascha Peilicke
< Previous Next >