Skip to content

Commit

Permalink
Update the build script
Browse files Browse the repository at this point in the history
- Add a type to the ncores parameter
- Add the mock_config to use
  • Loading branch information
pypingou committed Jan 4, 2012
1 parent 281b970 commit 5423159
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion multi_rpm_builder.py
Expand Up @@ -40,7 +40,7 @@ def setup_parser():
help='Input file containing the rpm to build.')
parser.add_argument('--mock-config', default='fedora-rawhide-i386',
help='Mock configuration to use (defaults to fedora-rawhide-i386).')
parser.add_argument('--ncores',
parser.add_argument('--ncores', type=int,
help='Number of cores to use (all by default)')
parser.add_argument('--verbose', action='store_true',
help='Give more info about what is going on.')
Expand All @@ -56,6 +56,7 @@ def build_rpm(packagename, mock_config):
arg.no_suggest = True
arg.no_check = True
#arg.mock_config = mock_config
arg.mock_config = 'epel-6-x86_64'
return R2rpm().main(arg)


Expand Down

0 comments on commit 5423159

Please sign in to comment.