[meego-packaging] rejections FAQ - installed files list should be in spec file (-f option isn't allowed except for lang)

Jian-feng Ding jian-feng.ding at intel.com
Wed Aug 4 01:22:39 PDT 2010


'-f' of %files in spec is only used for dynamically generated filelist in the building, here's some sample cases:
 1. %find_lang to find all the locale files to a %{name}.lang file
 2. python setup.py install --record-files=pymod.list, some other distros use it for python modules, but not used in MeeGo
 3. dynamically generated term list in ncurses package

So, I think it should not be used to replace the normal %files items.

- jf.ding

On Wed, Aug 04, 2010 at 04:02:09PM +0800, fathi.boudra at nokia.com wrote:
> It seems, once again, there's this new rule:
> - the file lists should be directly in the spec, not in separate files.
> - the %files -f should be used only for autogenerated files, like %{lang} scenario.
> 
> I disagree for the following reasons (IMHO):
> a) cleaner spec file (more readable)
> b) Most people tend to use wildcards in the spec file
>   to reduce his size and improve his readability
>   Using the file lists in a separate file feature,
>   gives us the choice to not use wildcards for the readability purpose.
>   we could miss some important changes using the wildcards and it's prone to error.
>   I tend to list all files except when I'm sure there's no risk.
>   Indeed, most of simple package don't need to use this feature.
> c) easier transition for the Maemo community packaging effort
> 
> afaics, 2 members of the release team want this rule for the following reasons:
> - files list in separated files are unreadable
> - maintenance of several files spread around source package neither 
>   easier nor readable
> 
> 
> _______________________________________________
> MeeGo-packaging mailing list
> MeeGo-packaging at meego.com
> http://lists.meego.com/listinfo/meego-packaging


More information about the MeeGo-packaging mailing list