diff options
Diffstat (limited to 'packages/brpm')
-rwxr-xr-x | packages/brpm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/brpm b/packages/brpm index b41b675f..45e47610 100755 --- a/packages/brpm +++ b/packages/brpm @@ -137,6 +137,9 @@ def generate_spec_contents(args, tmpl_fn, top_dir, arc_fn): # Map to known packages requires = [] for p in pkgs: + if p == 'argparse' and sys.version_info[0:2] >= (2, 7): + # Not needed on anything but 2.6 or older. + continue tgt_pkg = PKG_MP[args.distro].get(p) if not tgt_pkg: raise RuntimeError(("Do not know how to translate pypi dependency" |