Bug 1120268

Summary: RevewBoard - RBTools RPM spec doesn't require python-argparse
Product: [Fedora] Fedora Reporter: Mark <mark.a.sloan>
Component: ReviewBoardAssignee: Stephen Gallagher <sgallagh>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 19CC: dpierce, puiterwijk, sgallagh
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-07-21 12:52:26 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Mark 2014-07-16 15:14:35 UTC
Description of problem:
reviewboard RBTools RPM doesn't require python-argparse. It needs to. 

Version-Release number of selected component (if applicable):

$ rpm -qi RBTools-0.6-1.el6.noarch 
Name        : RBTools                      Relocations: (not relocatable)
Version     : 0.6                               Vendor: Fedora Project
Release     : 1.el6                         Build Date: Tue 08 Apr 2014 11:36:03 AM MDT
Install Date: Tue 15 Jul 2014 04:32:50 PM MDT      Build Host: buildvm-12.phx2.fedoraproject.org
Group       : Applications/Internet         Source RPM: RBTools-0.6-1.el6.src.rpm
Size        : 992951                           License: MIT
Signature   : RSA/8, Tue 08 Apr 2014 07:34:57 PM MDT, Key ID 3b49df2a0608b895
Packager    : Fedora Project
URL         : http://www.review-board.org
Summary     : Tools for use with ReviewBoard
Description :
RBTools provides client tools for interacting with a ReviewBoard
code-review server.

How reproducible:

Steps to Reproduce:
1. install a minimal install
2. install RBtools RPM
3. run "rbt --help"

Actual results:
rbt --help
Traceback (most recent call last):
  File "/usr/bin/rbt", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 2655, in <module>
  File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 648, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 546, in resolve
    raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: argparse

Expected results:
$ rbt --help
usage: rbt [--version] <command> [options] [<args>]

positional arguments:
  command        The RBTools command to execute, and any arguments. (See

optional arguments:
  -v, --version  show program's version number and exit
  -h, --help

The most commonly used commands are:

Other commands:
See 'rbt help <command>' for more information on a specific command.

Additional info:
I am not 100% sure I placed this in the correct place in bugzilla. 

rpm -q --requires RBTools-0.6-1.el6.noarch 
python(abi) = 2.6
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PartialHardlinkSets) <= 4.0.4-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsXz) <= 5.2-1

I content this python-argparse should be added as required in the spec.

Comment 1 Stephen Gallagher 2014-07-21 12:52:26 UTC

*** This bug has been marked as a duplicate of bug 1101153 ***