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

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

    <bug>
          <bug_id>36929</bug_id>
          
          <creation_ts>2019-06-20 16:13:54 +0300</creation_ts>
          <short_desc>Генерируются лишние зависимости</short_desc>
          <delta_ts>2019-06-29 18:18:42 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>rpm-build-gir</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>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Владимир Диденко">vladimir.didenko</reporter>
          <assigned_to name="Yuri N. Sedunov">aris</assigned_to>
          <cc>aris</cc>
    
    <cc>mike</cc>
    
    <cc>shaba</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>182622</commentid>
    <comment_count>0</comment_count>
    <who name="Владимир Диденко">vladimir.didenko</who>
    <bug_when>2019-06-20 16:13:54 +0300</bug_when>
    <thetext>Текущая версия rpm-build-gir генерирует лишние зависимости, если импортируется подмодуль, вместо всего модуля. Например, строчка

var giImportNames = imports.gi.GIRepository.Repository

сгенерирует зависимость как на typelib(GIRepository), так и на typelib(Repository). Насколько я понимаю, такого быть не должно.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>182624</commentid>
    <comment_count>1</comment_count>
    <who name="Yuri N. Sedunov">aris</who>
    <bug_when>2019-06-20 16:55:01 +0300</bug_when>
    <thetext>Владимир, что за прожект, cinnamon?  Мне увидеть, что Вы уже сделали.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>182626</commentid>
    <comment_count>2</comment_count>
    <who name="Владимир Диденко">vladimir.didenko</who>
    <bug_when>2019-06-20 17:24:36 +0300</bug_when>
    <thetext>(In reply to comment #1)
&gt; Владимир, что за прожект, cinnamon?  Мне увидеть, что Вы уже сделали.

Да. Я ничего не делал, просто раньше эта зависимость не генерировалась, так как точки с запятой в конце не было, а предыдущая версия rpm-buil-gir, такие случаи не обрабатывала. 

А так это апстримный код.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>182627</commentid>
    <comment_count>3</comment_count>
    <who name="Yuri N. Sedunov">aris</who>
    <bug_when>2019-06-20 17:31:39 +0300</bug_when>
    <thetext>Пока пропишите %add_typelib_req_skiplist typelib(Repository), а я со временем разберусь.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>182628</commentid>
    <comment_count>4</comment_count>
    <who name="Владимир Диденко">vladimir.didenko</who>
    <bug_when>2019-06-20 17:33:29 +0300</bug_when>
    <thetext>(In reply to comment #3)
&gt; Пока пропишите %add_typelib_req_skiplist typelib(Repository), а я со временем
&gt; разберусь.

Хорошо, спасибо!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>182758</commentid>
    <comment_count>5</comment_count>
    <who name="Владимир Диденко">vladimir.didenko</who>
    <bug_when>2019-06-27 17:44:07 +0300</bug_when>
    <thetext>На новом cinnamon еще одна новая паразитная зависимость вылезла. Строчка 

const {get_monotonic_time} = imports.gi.GLib;

привела к появлению зависимости на typelib(get_monotonic_time)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>182778</commentid>
    <comment_count>6</comment_count>
    <who name="Yuri N. Sedunov">aris</who>
    <bug_when>2019-06-28 18:15:55 +0300</bug_when>
    <thetext>Проверьте, пожалуйста
#233394 AWAITING #1 [test-only] sisyphus rpm-build-gir.git=0.7.3-alt1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>182786</commentid>
    <comment_count>7</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2019-06-29 18:18:42 +0300</bug_when>
    <thetext>rpm-build-gir-0.7.3-alt1 -&gt; sisyphus:

Fri Jun 28 2019 Yuri N. Sedunov &lt;aris@altlinux&gt; 0.7.3-alt1
- gir-js.req: modified to support more JS expressions (ALT #36929)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>