fedora-helper: Clarify how to generate binary license with dynamic BuildRequires
Signed-off-by: Igor Raits <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
d1ee7ed95c
commit
fdf954cd36
1 changed files with 6 additions and 0 deletions
|
@ -68,6 +68,12 @@ def get_binary_license(ctx, source, add, verbose):
|
||||||
binary license should be result of combining source license and all used
|
binary license should be result of combining source license and all used
|
||||||
crates.
|
crates.
|
||||||
|
|
||||||
|
Combined with dynamic BuildRequires generation, the usage would look like:
|
||||||
|
|
||||||
|
\b
|
||||||
|
rpmbuild -br *.spec -D "_sourcedir $PWD" --without check
|
||||||
|
fedora-helper.py get-binary-license /path/to/buildreqs.nosrc.rpm
|
||||||
|
|
||||||
This command resolves dependencies and outputs final license(s).
|
This command resolves dependencies and outputs final license(s).
|
||||||
"""
|
"""
|
||||||
os.makedirs(CACHEDIR, exist_ok=True)
|
os.makedirs(CACHEDIR, exist_ok=True)
|
||||||
|
|
Loading…
Reference in a new issue