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

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

    <bug>
          <bug_id>24843</bug_id>
          
          <creation_ts>2010-12-30 13:52:45 +0300</creation_ts>
          <short_desc>buildreq находит зависимость в %install</short_desc>
          <delta_ts>2010-12-31 11:18:49 +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-utils</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>NOTABUG</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="alex@altlinux.org">ua2fgb</reporter>
          <assigned_to name="placeholder@altlinux.org">placeholder</assigned_to>
          <cc>at</cc>
    
    <cc>glebfm</cc>
    
    <cc>ldv</cc>
    
    <cc>placeholder</cc>
    
    <cc>vsu</cc>
    
    <cc>vt</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>116793</commentid>
    <comment_count>0</comment_count>
    <who name="alex@altlinux.org">ua2fgb</who>
    <bug_when>2010-12-30 13:52:45 +0300</bug_when>
    <thetext>Должен ли buildreq искать зависимости %install?

spec:
%install
desktop-file-install %buildroot/%_liconsdir/%name.png

hsh:
+ desktop-file-install /usr/src/tmp/m-ping-buildroot//usr/share/icons/hicolor/48x48/apps/m-ping.png
/usr/src/tmp/rpm-tmp.69067: line 93: desktop-file-install: command not found
error: Bad exit status from /usr/src/tmp/rpm-tmp.69067 (%install)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>116794</commentid>
    <comment_count>1</comment_count>
    <who name="Sir Raorn">raorn</who>
    <bug_when>2010-12-30 13:57:02 +0300</bug_when>
    <thetext>Не должен, но может, если его об этом попросить.

buildreq -bi</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>116808</commentid>
    <comment_count>2</comment_count>
    <who name="Sergey Vlasov">vsu</who>
    <bug_when>2010-12-31 11:18:49 +0300</bug_when>
    <thetext>Причём достаточно попросить один раз - при последующих запусках, если не удалять из spec-файла добавленный buildreq комментарий &quot;# Automatically added by buildreq on ... (-bi)&quot;, опция -bi будет использоваться автоматически.

Ещё через комментарии запоминается опция --pruned (&quot;# optimized out: ...&quot;).</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>