On Tue, Sep 21, 2010 at 11:39, Roger WANG <[email protected]> wrote:
> Alexander Kanevskiy <[email protected]> writes:
>
>> Just out of curiosity why do we have that in spec ? what is the reason ?
>>
>> # >> macros
>> AutoReqProv: no
>> # << macros
>
> it pulled in some dependencies we don't want, from some binaries built
> but excluded from the package.

In that scenario it's better either to remove those binaries after
"make install" or use something like auto requirements filtering
http://fedoraproject.org/wiki/Packaging:AutoProvidesAndRequiresFiltering

Another thing, .spec files does not include any %exclude directives in
%files section. Which excluded binaries you're talking about ?

Another issue in .spec:

%files
%defattr(-,root,root,-)
# >> files
/usr/lib/fennec
/usr/share/applications/fennec.desktop
/usr/share/pixmaps/fennec.png
/usr/bin/fennec
# << files


why absolute path's are used, instead of e.g. %{_bindir} ?

> --
> Roger WANG                         Intel Open Source Technology Center
>



-- 
br, Alexander Kanevskiy
_______________________________________________
MeeGo-packaging mailing list
[email protected]
http://lists.meego.com/listinfo/meego-packaging

Reply via email to