<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>15343</bug_id>
          
          <creation_ts>2008-04-13 19:03:31 +0400</creation_ts>
          <short_desc>repocop неверно идентифицировал проблему с MimeType=</short_desc>
          <delta_ts>2008-07-28 20:26:29 +0400</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>repocop-unittest-freedesktop-mime-test</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Artem Zolochevskiy">azol</reporter>
          <assigned_to name="viy">viy</assigned_to>
          
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>68238</commentid>
    <comment_count>0</comment_count>
    <who name="Artem Zolochevskiy">azol</who>
    <bug_when>2008-04-13 19:03:32 +0400</bug_when>
    <thetext>конкретный пример: пакет bibletime-1.6.5-alt2

repocop жалуется, что нет вызова %post:%update_desktopdb %postun:
%clean_desktopdb:
http://ftp.linux.kiev.ua/pub/Linux/ALT/people/viy/repocop/NMU/by-packager/azol.txt

и предлагает аж вот такой патч:
http://ftp.linux.kiev.ua/pub/Linux/ALT/people/viy/repocop/NMU/diff/

При этом проблема куда более прозаична, и решается удалением из desktop файла 
пустого MimeType= (да именно так, без всякого значения)

т.е. проблема в том, что в desktop файле значится:
MimeType=

Может включить в repocop и такого рода проверку?
А то он сейчас и проблему неверно нашёл, и решение соответственно не то 
получилось.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>68239</commentid>
    <comment_count>1</comment_count>
    <who name="Mikhail Gusarov">dottedmag</who>
    <bug_when>2008-04-13 19:19:41 +0400</bug_when>
    <thetext>Перевешиваю на конкретный тест.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>68279</commentid>
    <comment_count>2</comment_count>
    <who name="viy">viy</who>
    <bug_when>2008-04-14 15:38:52 +0400</bug_when>
    <thetext>Да, спасибо, правильное наблюдение.
поправлю в сл. версии.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>73687</commentid>
    <comment_count>3</comment_count>
    <who name="viy">viy</who>
    <bug_when>2008-07-05 15:45:07 +0400</bug_when>
    <thetext>fixed in
repocop-unittest-freedesktop-desktop-exec-fill-code-0.03-alt1.src.rpm</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>