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

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

    <bug>
          <bug_id>3034</bug_id>
          
          <creation_ts>2003-09-23 17:34:35 +0400</creation_ts>
          <short_desc>buildreq: changing build stage with ease</short_desc>
          <delta_ts>2005-07-13 15:45:27 +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>rpm-utils</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>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="at@altlinux.org">at</reporter>
          <assigned_to name="placeholder@altlinux.org">placeholder</assigned_to>
          <cc>at</cc>
    
    <cc>glebfm</cc>
    
    <cc>ldv</cc>
    
    <cc>placeholder</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>9489</commentid>
    <comment_count>0</comment_count>
    <who name="at@altlinux.org">at</who>
    <bug_when>2003-09-23 17:34:36 +0400</bug_when>
    <thetext>Because of new perl.req script, new build dependencies can be discovered too late
for -bc.  Thus sometimes I want to change the stage to -bi.  I have to run
something like this:

buildreq --args=&quot;$(eval `grep -- -bc /usr/bin/buildreq | sed -e s,-bc,-bi,`; echo
&quot;$RPMARG&quot;)&quot; package.spec

Actually this can be an alias (buildreqi).  Anyway, I believe there should be an
easier way.

1) buildreq should be able to take its STAGE argument (-bc is the default)
2) buildreq should specially mark non-default STAGE invocation in specfile
comment, something like:
# Automatically added by buildreq on Mon Sep 22 2003 (-bi)
3) when run next time, buildreq should restore the STAGE argument from the
comment.

PS: &quot;should&quot; means &quot;feature request&quot; here.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>9786</commentid>
    <comment_count>1</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2003-09-26 16:42:06 +0400</bug_when>
    <thetext>Implemented in rpm-utils-0.7.3-alt1 </thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>