[Mageia-dev] Some news regarding rpm packaging rules : %clean section

Colin Guthrie mageia at colin.guthr.ie
Mon Jun 13 11:52:32 CEST 2011


'Twas brillig, and Dexter Morgan at 13/06/11 10:31 did gyre and gimble:
> Hello,
> 
> i will regurlarly mail this list when things change regarding
> packaging rules in rpm itself.
> 
> 
> First change, since rpm 4.8.0 you don't need to add the %clean
> section, if none is on the spec file, a default one will be used .

Nice :)

Note to other packagers: Please don't go cleaning (no pun intended) spec
files without thinking. As with all changes to rpm specs (such as the
infamous buildroot change of '09 :D) making the specs clean for one
distro version makes it harder/impossible to backport. This is not
always a problem, so we should try and keep things clean if possible,
but keep in mind that it can take ~2years before such new features can
be used in all packages without worrying (obviously this is the extreme
example - for the vast majority of packages, backporting is not really a
consideration).

All the best


Col


-- 

Colin Guthrie
mageia(at)colin.guthr.ie
http://colin.guthr.ie/

Day Job:
  Tribalogic Limited [http://www.tribalogic.net/]
Open Source:
  Mageia Contributor [http://www.mageia.org/]
  PulseAudio Hacker [http://www.pulseaudio.org/]
  Trac Hacker [http://trac.edgewall.org/]


More information about the Mageia-dev mailing list