[Rpmlint-discuss] [Rpmlint] #164: [PATCH] Warning about %setup usage outside of the %prep section

Rpmlint rpmlint+trac at zarb.org
Wed Oct 29 22:47:21 CET 2008


#164: [PATCH] Warning about %setup usage outside  of the %prep section
----------------------------------+-----------------------------------------
  Reporter:  akurtakov at gmail.com  |       Owner:  scop  
      Type:  enhancement          |      Status:  closed
  Priority:  minor                |   Milestone:  0.86  
 Component:  rpmlint              |     Version:  0.85  
Resolution:  fixed                |    Keywords:        
----------------------------------+-----------------------------------------
Changes (by scop):

  * status:  new => closed
  * version:  => 0.85
  * resolution:  => fixed
  * milestone:  => 0.86


Comment:

 Replying to [comment:3 akurtakov@…]:
 > Putting '%setup -q' as a last line in the %build section makes the build
 fail for me with:
 > + %setup -q
 > /var/tmp/rpm-tmp.UuXHC7: line 39: fg: no job control
 > error: Bad exit status from /var/tmp/rpm-tmp.UuXHC7 (%build)

 Yep, that means %setup was not expanded to anything and was passed to the
 shell as is, and it obviously does not like that.

 Thanks for the updated patch, applied with some more info message
 improvements in [1473].

-- 
Ticket URL: <http://rpmlint.zarb.org/cgi-bin/trac.cgi/ticket/164#comment:5>
Rpmlint <http://rpmlint.zarb.org/>
Rpm correctness checker


More information about the Rpmlint-discuss mailing list