On 2010-11-22, at 4:07 PM, Alexander Kanevskiy wrote:

> On Mon, Nov 22, 2010 at 6:03 PM, Anas Nashif <[email protected]> wrote:
>> 
>> On 2010-11-22, at 3:50 PM, Arjan van de Ven wrote:
>> 
>>> On 11/22/2010 3:46 PM, Alexander Kanevskiy wrote:
>>>> On Mon, Nov 22, 2010 at 5:27 PM, Marko Saukko<[email protected]>  
>>>> wrote:
>>>>> Hi,
>>>>> 
>>>>> I did an image with --excludedocs in the %packages section of .ks and got
>>>>> following errors. I was wondering that should these be fixed? Because all
>>>>> submit requests needs to have bug number all these should be reported as
>>>>> separate bugs if they should be fixed?
>>>> yes, in that particular scenario - one bug per package.
>>>> 
>>>>> Then comes the question to which component? Some of these packages do not
>>>>> have their own component so would it be then "MeeGo OS Base / Others" for
>>>>> example?
>>>>> 
>>>>> 
>>>>>  Installing: grep                         ##################### [ 93/612]
>>>>> install-info: No such file or directory for /usr/share/info/grep.info.gz
>>> \
>>> 
>>> frankly.. we should make install-info detect somehow the --exclude-docs and 
>>> not complain...
>> 
>> When trying to install an info file we just need to check that it exists 
>> before we call install-info...
> 
> looking at some packages form list above, it seems all of those
> packages have %post scripts written down in .spec manually.
> I hope we don't have that issue for packages with spectacle, right ?


AFAIK we use a macro in spectacle which checks for the file..

%install_info(:-:) \
        ALL_ARGS=(%{**}) \
        num_args=${#all_ar...@]} \
        if test -x sbin/install-info ; then \
            if test -e "${ALL_ARGS[$((NUM_ARGS-1))]}" ; then \
                sbin/install-info "${all_ar...@]}" \
            fi \
        fi ;



Anas

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

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

Reply via email to