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

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

    <bug>
          <bug_id>35281</bug_id>
          
          <creation_ts>2018-08-22 09:50:08 +0300</creation_ts>
          <short_desc>Не хватает зависимости на python3-module-dbus</short_desc>
          <delta_ts>2018-10-12 22:03:13 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>3</classification_id>
          <classification>Distributions</classification>
          <product>Branch p8</product>
          <component>cinnamon</component>
          <version>не указана</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>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>33000</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Motsyo Gennadi">drool</reporter>
          <assigned_to name="qa-p8@altlinux.org">qa-p8</assigned_to>
          <cc>antohami</cc>
    
    <cc>mike</cc>
    
    <cc>vladimir.didenko</cc>
          
          <qa_contact name="qa-p8@altlinux.org">qa-p8</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>173527</commentid>
    <comment_count>0</comment_count>
    <who name="Motsyo Gennadi">drool</who>
    <bug_when>2018-08-22 09:50:08 +0300</bug_when>
    <thetext>Отсутствует жесткая зависимость на пакет python3-module-dbus. В стартерките (не знаю как в полных дистрибутивах) при попытке запустить настройки апплетов в консоль валится примерно такое:
==================================================================
Traceback (most recent call last):
  File &quot;/usr/share/cinnamon/cinnamon-settings/xlet-settings.py&quot;, line 9, in &lt;module&gt;
    from JsonSettingsWidgets import *
  File &quot;/usr/share/cinnamon/cinnamon-settings/bin/JsonSettingsWidgets.py&quot;, line 2, in &lt;module&gt;
    from SettingsWidgets import *
  File &quot;/usr/share/cinnamon/cinnamon-settings/bin/SettingsWidgets.py&quot;, line 8, in &lt;module&gt;
    import dbus
ImportError: No module named &apos;dbus&apos;
==================================================================
и ничего не происходит...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>174429</commentid>
    <comment_count>1</comment_count>
    <who name="Антон Мидюков">antohami</who>
    <bug_when>2018-09-23 12:40:03 +0300</bug_when>
    <thetext>Проблему надо исправить сначала в Сизифе.

Зависимости на python3 модули не находятся автоматически, так как в спеке нет:
Buildrequires(pre): rpm-build-python3

Необходимо добавить и проверить сгенерируется ли зависимость на python3-module-dbus</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>174430</commentid>
    <comment_count>2</comment_count>
    <who name="Антон Мидюков">antohami</who>
    <bug_when>2018-09-23 12:55:00 +0300</bug_when>
    <thetext>В Сизифе исправлено. Извиняюсь. Но это не отменяет необходимость настроить автоматический поиск зависимостей python3.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>174434</commentid>
    <comment_count>3</comment_count>
    <who name="Антон Мидюков">antohami</who>
    <bug_when>2018-09-23 16:34:43 +0300</bug_when>
    <thetext>Также, чтобы искались зависимости на python3 нужно в спек строчку добавить:
%add_python3_path  %_datadir/cinnamon/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>174435</commentid>
    <comment_count>4</comment_count>
    <who name="Владимир Диденко">vladimir.didenko</who>
    <bug_when>2018-09-24 08:13:44 +0300</bug_when>
    <thetext>Постараюсь на этой неделе починить.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>174504</commentid>
    <comment_count>5</comment_count>
    <who name="Владимир Диденко">vladimir.didenko</who>
    <bug_when>2018-09-25 17:16:11 +0300</bug_when>
    <thetext>Сейчас собирается 213632, в котором добавлена завимисость на python3-module-dbus.

&gt; Также, чтобы искались зависимости на python3 нужно в спек строчку добавить:
%add_python3_path  %_datadir/cinnamon/

Использовать этот прием в данном случае опасно, поскольку помимо автоматической генерации requires, еще автоматически нагенерируется целая пачка ненужных, а, самое главное, потенциально опасных provides.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>174951</commentid>
    <comment_count>6</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2018-10-12 22:03:13 +0300</bug_when>
    <thetext>cinnamon-3.4.6-alt1.M80P.2 -&gt; p8:

Tue Sep 25 2018 Vladimir Didenko &lt;cow@altlinux&gt; 3.4.6-alt1.M80P.2
- do not require PAM for python3 scripts

Tue Sep 25 2018 Vladimir Didenko &lt;cow@altlinux&gt; 3.4.6-alt1.M80P.1
- fix requires for Python 3 (closes: #35281)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>