Le mercredi 22 mai 2013 à 22:18 +0100, Richard W.M. Jones a écrit :
> (3) RPM's spec file format needs to be redone using a Real Parser.  At
> the moment it has all sorts of strange corner cases (for example, how
> to define a macro containing an arch-dependent list?).  It'd be a good
> opportunity to fix brokenness such as "global" meaning "define", lack
> of direct support for configuration flags, writing "0%{?rhel}",
> complexity of non-trivial %setup's, etc.

in 2/3 years :) Doubtful.
But then, add "have the spec format to be easy to parse by a software so
we can write better QA tools like rpmlint or fedora-review".

> (5) Almost all %pre/%post scripts need to be eliminated.  There's no
> reason that RPM can't detect when a shared library is being installed.

+1 for file triggers

Mandriva did have that, and that greatly help to enforce a consistent
policy and let packager focus on the others part rather than cut and
paste the same stuff.

And if we do have less %post script, we increase compatibility with
other distributions if they do the same.

-- 
Michael Scherer

-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Reply via email to