diff options
author | Pascal Terjan <pterjan@mageia.org> | 2023-01-16 20:09:45 +0000 |
---|---|---|
committer | Pascal Terjan <pterjan@mageia.org> | 2023-01-16 20:09:45 +0000 |
commit | 43bd968964ba8007988f9db0adcb0f625167ea2f (patch) | |
tree | e16a726b4be641d6ab5b2299599ad45c59f4122f /bm | |
parent | 9017169d5cff8da3418f886484722cf48138c65c (diff) | |
download | bm-43bd968964ba8007988f9db0adcb0f625167ea2f.tar bm-43bd968964ba8007988f9db0adcb0f625167ea2f.tar.gz bm-43bd968964ba8007988f9db0adcb0f625167ea2f.tar.bz2 bm-43bd968964ba8007988f9db0adcb0f625167ea2f.tar.xz bm-43bd968964ba8007988f9db0adcb0f625167ea2f.zip |
Support generate_buildrequires stage
This adds the support for -r which then calls rpmbuild -br.
See https://fedoraproject.org/wiki/Changes/DynamicBuildRequires
Diffstat (limited to 'bm')
-rw-r--r-- | bm | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -32,6 +32,8 @@ def parse_options(): help="just unpack") parser.add_option("-p", dest="mode", action="store_const", const="prep", help="unpack and run %prep stage") + parser.add_option("-r", dest="mode", action="store_const", const="generate_buildrequires", + help="unpack, run %prep and generate buildrequires") parser.add_option("-c", dest="mode", action="store_const", const="compile", help="unpack, run %prep, and compile") parser.add_option("-i", dest="mode", action="store_const", const="install", |