Bug 3034 - buildreq: changing build stage with ease
: buildreq: changing build stage with ease
Status: CLOSED FIXED
: Sisyphus
(All bugs in Sisyphus/rpm-utils)
: unstable
: all Linux
: P2 enhancement
Assigned To:
:
:
:
:
:
  Show dependency tree
 
Reported: 2003-09-23 17:34 by
Modified: 2005-07-13 15:45 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2003-09-23 17:34:36
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="$(eval `grep -- -bc /usr/bin/buildreq | sed -e s,-bc,-bi,`;
echo
"$RPMARG")" 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: "should" means "feature request" here.
------- Comment #1 From 2003-09-26 16:42:06 -------
Implemented in rpm-utils-0.7.3-alt1